Hi,
I have a number of grids within a single form and it is possible to drag and drop between them. I've coded functionality for Drag n Drop but there is also a requirement
to enable the users to select rows from the grids and perform the same drag n drop action but via a menu.
What's the best way to detect which grids are selected? Is it possible to have more than one grid in focus or will I have to examine the form's component tree and determine which grids
have rows selected in them?
Many thanks,
Mark.
You should be able to inspect the ActiveRow property.
Thanks, I'll try this approach.
Mark.
Also UltraGrid has SelectedRows object that you can check. You probably just need to make the menu option very specific (ex. Copy grid A to grid B, Copy grid B to grid A).