I am using a GridView containing 2 or 3 lines of data.I have to hide and show some lines related to the condition
But when I hide the row, there is an empty space (possibly a row with no data)
This way I hide the line (I tried both Collapse and Hidden)
GridView1.GetRowForItem(GridView1.Items[rowIndex]).Visibility = Visibility.Collapse;
How can I completely hide the Grid row?