Mike Posted February 27, 2017 Posted February 27, 2017 How can I move a row in the same grid (dbgrid and/or stringgrid)? Help is appreciated. Quote
Sherzod Posted February 27, 2017 Posted February 27, 2017 I think, in any case, you need to additionally create an index field (order),and then analyze UniDBGrid -> OnDropRowsEvent... Quote
Mike Posted February 27, 2017 Author Posted February 27, 2017 Are there any examples how to realize this? Quote
Sherzod Posted February 27, 2017 Posted February 27, 2017 Yes, in progress,i.e. I'm trying to with ClientDataSet (but drag & drop for one row) Quote
mhmda Posted February 28, 2017 Posted February 28, 2017 This may help you: http://forums.unigui.com/index.php?/topic/8047-dbgrid-dragdrop-advanced-tutorial/ Quote
Mike Posted February 28, 2017 Author Posted February 28, 2017 Thank you. Can your example also be applied to a single dbgrid (or stringgrid)? So move the record in the same grid? 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.