We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

semi-infinite selections

Hi It would be very useful for us to select ranges like "row 3 excluding cells in columns A, B, C and D", or "the whole table excluding row 1 and columns A and B". We use a virtual grid that is, at least in theory, infinite, and we are loath to play around with clever tricks like updating the selection as the user scrolls. Would it be possible to implement such a feature? Cheers William

1 Reply

AD Administrator Syncfusion Team July 14, 2006 05:36 AM UTC

Hi William, This can be done by handling the PrepareViewStyleInfo event of the grid, there through the Selections.GetInvertStateRowCol method, determine the cell position in the rangelist and set the color for those cells in the selection to white. Please refer to the attached sample, that demonstrates the desired behavior. Here is a sample http://www.syncfusion.com/Support/user/uploads/VirtualGrid_Selection_f12d7866.zip Let me know if this helps. Regards, Rajagopal

Loader.
Live Chat Icon For mobile
Up arrow icon