I’m using UltraWin Grid 12 (Infragistics) for Win Forms (vb.net 2010 Framework 3.5) .
Is there a way to hide all rows and only show the filtered In rows?. I need to show nothing unless a filter is selected, and when all filters are unselected, hide all rows again.
I tried a For Each … row.hidden = true, but no luck.
You can use a draw filter to hide all of the rows when there aren’t any that are filtered out:
To set the draw filter of the grid, use the following:
Note that this only prevents drawing of the rows and they are still there so unless you disable them in another way, selection, editing, and activation will still happen.