Roger Blanchard
447 posts
Registered:
29 Jun 2018
14 Dec 2019
Link to this post
I am working on DragDrop rows from one grid to another. I have this working in an UltraGrid just fine, I then tried using a SmartDataBrowser but no luck. It appears that when you call EnableMultiSelect on the SmartDataBrowse it will set the Tow SelectTypeRow to Extended. Since we use an OspreyDataBrowser on all our forms that inherits from SmartDataBrowser we decided to OVERRIDE the following methods;
SetMultiSelection
SetGridReadOnly
and add support for ExtendedAutoDrag.
This now works but just once. When the form opens I can select multiple rows. However, after the initial selection of rows once the selection is cleared I can no longer select multiple rows. The SelectTypeRow appears to still be set to ExtendedAutoDrag but it just does not work. I have searched the SCL code for SelectTypeRow and do not see anywhere else that this may be getting reset.
Am I missing something?