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

alternate rows again

i have a volatile grid and want alternate rows colored but also have rows that get hidden. whats the easiest way to take the hidden rows into account and still get alternate colored rows. also to do with hidden rows, if some one does a select and copy and paste the pasted content will include any hidden rows, can this be stopped

1 Reply

AD Administrator Syncfusion Team April 5, 2006 06:05 AM UTC

Hi Kevin, To get alternate row colors, you can collect the visible column index as key and value as a serial numbering in the hash table. Then based on this, the color the alternate colors. To avoid the contents of the hidden rows from being copied, you can manually handle the ClipboardCopy event and restrict the hidden rows from being copied. Sample : HiddenRows_VirtualGrid Thanks for the patience. Best regards, Madhan

Loader.
Live Chat Icon For mobile
Up arrow icon