I have the follow code in place to hide the Expand/Collapse column in my grid. The only problem is that is leaves a rather large blue speace in the details table that I would like to get rid of.
protected
void
rgTickets_PreRender(
object
sender, EventArgs e)
{
rgTickets.MasterTableView.ExpandCollapseColumn.Display =
false
;
if
(!Page.IsPostBack)
{
foreach
(Telerik.Web.UI.GridDataItem item
in
rgTickets.MasterTableView.Items)
{
item.Expanded =
true
;
item.ChildItem.Cells[0].Visible =
false
;
}
}
}