Hi to all,
I have a problem in a RadGridView with the vertical scrollbar.
I've attacched a DataTable to my gridview DataSource, and all works well, then I've hidden some rows, but at this point the vertical scrollbar doesn't allow me to see all the rows visible, in the sense that when I reach the bottom edge of the scrollbar, there are still a lot of row in the grid view, but I cannot see them.
The code:
myGridView.DataSource = myDataTable;
}
if (myCheckBox.Checked)
{
foreach (GridViewRowInfo row in myGridView.Rows)
{
if ((bool)row.Cells["myColumn"].Value == false)
{
row.IsVisible = false;
row.InvalidateRow();
}
}
}
else
{
foreach (GridViewRowInfo row in myGridView.Rows)
{
row.IsVisible = true;
row.InvalidateRow();
}
}
I have a problem in a RadGridView with the vertical scrollbar.
I've attacched a DataTable to my gridview DataSource, and all works well, then I've hidden some rows, but at this point the vertical scrollbar doesn't allow me to see all the rows visible, in the sense that when I reach the bottom edge of the scrollbar, there are still a lot of row in the grid view, but I cannot see them.
The code:
myGridView.DataSource = myDataTable;
}
if (myCheckBox.Checked)
{
foreach (GridViewRowInfo row in myGridView.Rows)
{
if ((bool)row.Cells["myColumn"].Value == false)
{
row.IsVisible = false;
row.InvalidateRow();
}
}
}
else
{
foreach (GridViewRowInfo row in myGridView.Rows)
{
row.IsVisible = true;
row.InvalidateRow();
}
}