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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

semi-infinite selections

Thread ID:





46493 Jul 13,2006 03:16 PM UTC Jul 14,2006 05:36 AM UTC WinForms 1
Tags: GridControl
Asked On July 13, 2006 03:16 PM UTC

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

Administrator [Syncfusion]
Replied On 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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon