I have a simple grouped grid to which I have added the following code:
protected void personalRadGrid_ColumnCreated(object sender, GridColumnCreatedEventArgs e)
{
if (e.Column is GridGroupSplitterColumn)
{
e.Column.Visible = false;
}
}
The grid also has a select column with check boxes.
But now, when I click on a group header in the check box column (no check boxes in the group rows), the row still collapses.
I've tried setting the AllowExpandCollapse and AllowGroupExpandCollapse in ClientSettings to false in the OnPreRender event of the page, but those don't seem to do anything.
How can I effectively prevent the user to collapse the grid while hiding the collapse/expand column?
This seems like a pretty common functionality that a lot of people struggle with.
Thanks,
Rod
protected void personalRadGrid_ColumnCreated(object sender, GridColumnCreatedEventArgs e)
{
if (e.Column is GridGroupSplitterColumn)
{
e.Column.Visible = false;
}
}
The grid also has a select column with check boxes.
But now, when I click on a group header in the check box column (no check boxes in the group rows), the row still collapses.
I've tried setting the AllowExpandCollapse and AllowGroupExpandCollapse in ClientSettings to false in the OnPreRender event of the page, but those don't seem to do anything.
How can I effectively prevent the user to collapse the grid while hiding the collapse/expand column?
This seems like a pretty common functionality that a lot of people struggle with.
Thanks,
Rod