Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2730
UltraGrid: Archive or Hide rows
posted

I want to be able to hide or acrhive rows base on a certain value.

 

For example I set 10 rows to have a value of true. In code how would I hide them or achive them.

Archive and Hide is really the same thing.

I also want to be able to undide also

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi,

    The easiest way to do this is to handle the InitializeRow event. You can examine any value in in cell of the row and then set the Hidden property on that row.

    If something in your application changes and you need to refresh the hidden states, then you can call grid.Rows.Refresh(FireInitializeRow) to cause the event to re-fire for all of the rows.

Children