bbm Posted October 19, 2016 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 Quote
Sherzod Posted October 21, 2016 Posted October 21, 2016 Hi, Use UniDBGrid -> OnDropRowsEvent for this Best regards. Quote
bbm Posted October 21, 2016 Author 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. Quote
Sherzod Posted October 21, 2016 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. Quote
bbm Posted October 22, 2016 Author 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 Quote
bbm Posted October 22, 2016 Author 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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.