Hi
I have a grid with 2 tables hierarchy
System autogenerates <telerik:GridExpandColumn> columm. How I can remove it?
When I try to add ExpandCollapseColumn-Visible="false" for MasterTableView - no changes. Other properties works (for example ExpandCollapseColumn-ButtonType="ImageButton")
How I can remove this column?
(I wish to add expanding features to whole row)
When I try to add <telerik:GridExpandColumn></telerik:GridExpandColumn> System generates 2 expand columns
Current test grid is here:
<telerik:RadGrid ID="rgAttachmentsGrid" AllowPaging="False" runat="server" Skin="CommonGrid" EnableEmbeddedSkins="false" BorderStyle="Solid" GridLines="None" AutoGenerateColumns="false" CellPadding="0" CellSpacing="0" | |
OnItemCreated="rgAttachmentsGrid_ItemCreated" OnItemCommand="rgAttachmentsGrid_ItemCommand" > | |
<MasterTableView DataKeyNames="AttGroupID" DataMember="Group" AutoGenerateColumns="False" EditMode="InPlace" InsertItemDisplay="Top" CommandItemDisplay="Top" AllowAutomaticInserts="true" BorderStyle="None" CellPadding="0" CellSpacing="0" | |
ExpandCollapseColumn-Visible="false" > | |
<CommandItemSettings AddNewRecordText="<%$ Language:Translate:str_Field_Editor_AddNewItem %>" RefreshText="<%$ Language:Translate:str_Field_Editor_Refresh %>" /> | |
<DetailTables> | |
<telerik:GridTableView DataKeyNames="AttachID" DataMember="Attachment" AutoGenerateColumns="false"> | |
<ParentTableRelation> | |
<telerik:GridRelationFields DetailKeyField="AttGroupID" MasterKeyField="AttGroupID" /> | |
</ParentTableRelation> | |
<Columns> | |
<telerik:GridBoundColumn DataField="FileName" UniqueName="ID1" Visible="True" > | |
</telerik:GridBoundColumn> | |
</Columns> | |
</telerik:GridTableView> | |
</DetailTables> | |
<Columns> | |
<telerik:GridBoundColumn DataField="AttGroupID" UniqueName="ID" Visible="False" > | |
</telerik:GridBoundColumn> | |
<telerik:GridTemplateColumn> | |
<ItemTemplate> | |
<asp:LinkButton ID="lbGroup" runat="server" Width="100%"></asp:LinkButton> | |
</ItemTemplate> | |
</telerik:GridTemplateColumn> | |
</Columns> | |
</MasterTableView> | |
</telerik:RadGrid> |