Hiding Rows
You can hide or show rows by configuring a FilterDescriptor that filters the bound items by a certain condition.
For the purpose, Filtering criteria should be defined as explained in the Programmatic Filtering article. As another example, you can find some sample code on the Programmatic Filtering Demo.