Hi,
The editor form shows when press add new record button.
but when filter grid and press add new record button
can not see the editor form popup.
And then clear filter , grid has a new blank record.
The relate code as below,please help to solve this problem.
Thanks,
Mark
add new record button
$("#grid").kendoGrid({
toolbar: [{name:"create",text:"新增"}],
editable: {
mode: "popup"
}
})
filter grid
$("#item").kendoComboBox({
change: function() {
var value = this.value();
if (value) {
grid.data("kendoGrid").dataSource.filter({ field: "id", operator: "eq", value: parseInt(value) });
} else {
grid.data("kendoGrid").dataSource.filter({});
}
}
});
The editor form shows when press add new record button.
but when filter grid and press add new record button
can not see the editor form popup.
And then clear filter , grid has a new blank record.
The relate code as below,please help to solve this problem.
Thanks,
Mark
add new record button
$("#grid").kendoGrid({
toolbar: [{name:"create",text:"新增"}],
editable: {
mode: "popup"
}
})
filter grid
$("#item").kendoComboBox({
change: function() {
var value = this.value();
if (value) {
grid.data("kendoGrid").dataSource.filter({ field: "id", operator: "eq", value: parseInt(value) });
} else {
grid.data("kendoGrid").dataSource.filter({});
}
}
});