Hi,
In my RadGrid control I need to hide GridExpandColumn I have used following tag in my DesignSource
<radG:RadGrid ID="RadGrid1" runat="server" Skin="Glassy" OnItemDataBound="RadGrid1_ItemDataBound"
GridLines="None" AutoGenerateColumns="False" EnableAJAX="false"
oncolumncreated="RadGrid1_ColumnCreated" >
<ClientSettings AllowColumnHide="true" AllowExpandCollapse="false" AllowGroupExpandCollapse="false" >
</ClientSettings>
<MasterTableView>
<ExpandCollapseColumn Display="false" Visible="false" />
as well as in code behind I have following code...
protected void RadGrid1_ColumnCreated(object sender, GridColumnCreatedEventArgs e)
{
if (e.Column is GridExpandColumn)
{
e.Column.HeaderStyle.Width = Unit.Pixel(0);
e.Column.Visible = false;
e.Column.Display = false;
}
}
But it is not hiding the "GRIDEXPANDCOLUMN"
how can I solve my issue ???
Thanks & Regards
SHAJI P.D.