bbm Posted October 19, 2016 Share Posted October 19, 2016 When I use the drag and drop function to move one row from DBGrid1 to DBGrid2, how can I get an event when the row is dropped in the DBGrid2. I need an event to move the dataset from ClientDataSet1 to ClientDataSet2 after dropping. Has anybody an idea for me? Best regards, Bernd Link to comment Share on other sites More sharing options...
Sherzod Posted October 21, 2016 Share Posted October 21, 2016 Hi, Use UniDBGrid -> OnDropRowsEvent for this Best regards. Link to comment Share on other sites More sharing options...
bbm Posted October 21, 2016 Author Share Posted October 21, 2016 Hi, I tried this yet, but the event will not be sent. Is there any other necessary property to set Best regards. Link to comment Share on other sites More sharing options...
Sherzod Posted October 21, 2016 Share Posted October 21, 2016 I tried this yet, but the event will not be sent. Hi, Works for me, then can you make a small test case for your issue? Best regards. Link to comment Share on other sites More sharing options...
bbm Posted October 22, 2016 Author Share Posted October 22, 2016 Hi, I have tested it in the Grid Drag-Drop example. Everything is fine. In my application the two grids are placed on uniPageControl which is placed on a frame and not on a form. Could this be the problem? Best regards Link to comment Share on other sites More sharing options...
bbm Posted October 22, 2016 Author Share Posted October 22, 2016 Hi, I think I found the problem. In my application I have one column on each grid. When the columns are locked the event will not be sent, otherwise yes. Thank you for your support. Best regards Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now