I have a radgrid with the following definition
<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="True"
AllowMultiRowEdit="True"
GridLines="None" Skin="Web20" OnPreRender="RadGrid1_PreRender"
OnItemCommand="RadGrid1_ItemCommand"
OnCreateColumnEditor="RadGrid1_CreateColumnEditor"
>
<MasterTableView EditMode="InPlace" CommandItemDisplay="Bottom">
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
<ExpandCollapseColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
<Columns>
<telerik:GridBoundColumn ConvertEmptyStringToNull="False" DataField="Name"
HeaderText="Name Column" MaxLength="50" ReadOnly="True" UniqueName="NameColumn">
</telerik:GridBoundColumn>
</Columns>
<CommandItemTemplate>
<asp:Button runat="server" Text="Save All" ID="SaveButton" visible="true" CommandName="UpdateAll" />
</CommandItemTemplate>
</MasterTableView>
</telerik:RadGrid>
Most of the columns come from a databound source. I need to add an additional row where there is a single checkbox for each column. For example (forgive the ascii art):
--------------------------------------------------------------------------
|Name Column |Col 1 | Col 2 | Col 3 |
--------------------------------------------------------------------------
|Some Name | <drop down> | <drop down> | <drop down>|
--------------------------------------------------------------------------
|Another Name | <drop down> | <drop down> |<drop down> |
--------------------------------------------------------------------------
| Check These | <checkbox> | <checkbox> | <checkbox> |
--------------------------------------------------------------------------
|<submit button> |
--------------------------------------------------------------------------
I have it creating all of the drop down lists in the CreateColumnEditor event. Also, all of the rows (except the checkbox one) come from the datasource.
How can I add footer row that contains those checkboxes?
<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="True"
AllowMultiRowEdit="True"
GridLines="None" Skin="Web20" OnPreRender="RadGrid1_PreRender"
OnItemCommand="RadGrid1_ItemCommand"
OnCreateColumnEditor="RadGrid1_CreateColumnEditor"
>
<MasterTableView EditMode="InPlace" CommandItemDisplay="Bottom">
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
<ExpandCollapseColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
<Columns>
<telerik:GridBoundColumn ConvertEmptyStringToNull="False" DataField="Name"
HeaderText="Name Column" MaxLength="50" ReadOnly="True" UniqueName="NameColumn">
</telerik:GridBoundColumn>
</Columns>
<CommandItemTemplate>
<asp:Button runat="server" Text="Save All" ID="SaveButton" visible="true" CommandName="UpdateAll" />
</CommandItemTemplate>
</MasterTableView>
</telerik:RadGrid>
Most of the columns come from a databound source. I need to add an additional row where there is a single checkbox for each column. For example (forgive the ascii art):
--------------------------------------------------------------------------
|Name Column |Col 1 | Col 2 | Col 3 |
--------------------------------------------------------------------------
|Some Name | <drop down> | <drop down> | <drop down>|
--------------------------------------------------------------------------
|Another Name | <drop down> | <drop down> |<drop down> |
--------------------------------------------------------------------------
| Check These | <checkbox> | <checkbox> | <checkbox> |
--------------------------------------------------------------------------
|<submit button> |
--------------------------------------------------------------------------
I have it creating all of the drop down lists in the CreateColumnEditor event. Also, all of the rows (except the checkbox one) come from the datasource.
How can I add footer row that contains those checkboxes?