彼らは、デフォルトでタイトルを持っています記事
<telerik:RadGrid RenderMode="Lightweight" ID="RadGrid1" GridLines="None" runat="server" AllowAutomaticDeletes="True"
AllowAutomaticInserts="True" PageSize="10" AllowAutomaticUpdates="True" AllowPaging="True"
AutoGenerateColumns="False" DataSourceID="SqlDataSource1">
<MasterTableView CommandItemDisplay="TopAndBottom" DataKeyNames="ProductID"
DataSourceID="SqlDataSource1" HorizontalAlign="NotSet" EditMode="Batch" AutoGenerateColumns="False">
<CommandItemTemplate>
<telerik:RadPushButton runat="server" ID="AddNewRecordButton" OnClientClicked="addRecordToGrid" AutoPostBack="false" Text="Add new record" ToolTip="Add new record">
<Icon CssClass="rgAddIcon" />
</telerik:RadPushButton>
<telerik:RadPushButton runat="server" ID="SaveChangesButton" OnClientClicked="saveChangesToGrid" AutoPostBack="false" Text="Save changes" ToolTip="Save changes">
<Icon CssClass="rgSaveIcon" />
</telerik:RadPushButton>
<telerik:RadPushButton runat="server" ID="CancelChangesButton" OnClientClicked="cancelChangesToGrid" AutoPostBack="false" Text="Cancel changes" ToolTip="Cancel changes">
<Icon CssClass="rgCancelIcon" />
</telerik:RadPushButton>
<telerik:RadPushButton runat="server" ID="RefreshButton" OnClientClicked="refreshGrid" AutoPostBack="false" Text="Refresh" ToolTip="Refresh">
<Icon CssClass="rgRefreshIcon" />
</telerik:RadPushButton>
</CommandItemTemplate>
<BatchEditingSettings EditType="Cell" />
</MasterTableView>
</telerik:RadGrid>
とサンプルスクリプト
function addRecordToGrid() {
var grid = $find('<%=RadGrid1.ClientID%>');
grid.get_batchEditingManager().addNewRecord(grid.get_masterTableView());
return false;
}
function saveChangesToGrid() {
var grid = $find('<%=RadGrid1.ClientID%>');
grid.get_batchEditingManager().saveChanges(grid.get_masterTableView());
return false;
}
function cancelChangesToGrid() {
var grid = $find('<%=RadGrid1.ClientID%>');
grid.get_batchEditingManager().cancelChanges(grid.get_masterTableView());
return false;
}
function refreshGrid() {
var grid = $find('<%=RadGrid1.ClientID%>');
grid.get_masterTableView().rebind();
}
からの抜粋