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

Advice needed

Hi there,

I have a demand to remove rows from a grid and to add them as a result of some filtering capability.

What is the best approach to achive that , should i remove and then add ?
Can i use the hidden capability ?
What is the best approach ?

Thanks
0L

1 Reply

AD Administrator Syncfusion Team November 21, 2006 06:19 AM UTC

Hi OL,

The best way to do this would be to have an extra column in your DataTable say ‘HideStatus’ to keep track of the hidden rows. You can initially set the value to be false and apply filter from Grid to show the records that satisfy the false criteria. So whenever you need to hide a row, you just need to set the bool value of that Row field to true. This will be very faster.

Please refer this sample for the implementation
http://www.syncfusion.com/Support/user/uploads/GRidHide_4a110c5.zip

Best Regards,
Haneef

Loader.
Live Chat Icon For mobile
Up arrow icon