Hi A,
I am using <Ultragrid.Rows.VisibleRowCount> variable to check the Visible row in an ultragrid. There are actually 1 Visible row i can see, but the <Ultragrid.Rows.VisibleRowCount> value of is coming as 2. When I am expanding the <Ultragrid.Rows> properties the <VisibleRowCount> value is 1. And after collapsing the quickwatch the <Ultragrid.Rows.VisibleRowCount> is also 1. But if I am executing without viewing it in the quickwatch then the <Ultragrid.Rows.VisibleRowCount> continious to be 2. Can any one help me in this issue plz....
Thanks in Advance
It seems like the grid is not refreshing the VisibleRows list until it needs it.
Try calling grid.Refresh before checking the count and see if that helps. If not, you can try grid.Rows.Refresh(ReloadData) and that might do it.