.ViewConfig(
Html.X().GridView().EnableTextSelection(true).Selectable(true))
.SelectionModel(
Html.X().CheckboxSelectionModel().Mode(SelectionMode.Multi))
删除选中的行
var deleteLine = function () {
var grid = App.MilestoneGridPanel,
store = grid.store,
records = grid.selModel.getSelection();
if (records == false) {
Ext.Msg.alert('@LanguageHelper.GetLangValue("提示")', '@LanguageHelper.GetLangValue("请选择需要删除的行")')
}
else {
store.remove(records);
}
}