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.
Unfortunately, activation email could not send to your email. Please try again.

semi-infinite selections

Thread ID:

Created:

Updated:

Platform:

Replies:

46493 Jul 13,2006 11:16 AM Jul 14,2006 01:36 AM Windows Forms 1
loading
Tags: GridControl
Anonymous
Asked On July 13, 2006 11:16 AM

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 01:36 AM

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

CONFIRMATION

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.

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.

;