if I have only two or more field editable in a row, when i click on a uneditable field this vanishes.
just attached a snapshot:
this is my grid declaration:
$(function() {
$("#grid").kendoGrid({
pageable: true,
dataSource: {
type: "json",
serverPaging: true,
serverSorting: true,
transport: {
read: "?module=<?=$_REQUEST["module"]?>&applettype=kserver&mode=action&q=2" ,
},
schema: {
data: "data",
total: "total",
model: {
id: "id",
fields: {
NAME: { editable: true },
STATUS: { editable: true },
UPDATED: { editable: true },
}
}
},
pageSize: <?=$ROW_LIMIT?>,
serverPaging: true,
error: function(e) {
alert(e.responseText);
},
//sort: { field: "CREATED", dir: "asc" },
},
editable: true,
//navigable: true,
selectable: true,
//scrollable: true,
sortable: {
mode: "single", // enables multi-column sorting
allowUnsort: true
},
columns: [
{ title: "<?=$LBL_ACTIVITIES_FIELD_CREATED;?>",field: "CREATED" },
{ title: "<?=$LBL_ACTIVITIES_FIELD_NAME;?>",field: "NAME" },
{ title: "<?=$LBL_ACTIVITIES_FIELD_AREA;?>",field: "AREA" },
{ title: "<?=$LBL_ACTIVITIES_FIELD_STATUS;?>",field: "STATUS" },
{ title: "<?=$LBL_ACTIVITIES_FIELD_PRIORITY;?>",field: "PRIORITY" },
{ title: "<?=$LBL_ACTIVITIES_FIELD_RECURSE_SAVE;?>",field: "RECURSE_SAVE" },
{ title: "<?=$LBL_ACTIVITIES_FIELD_PR_GRP_NAME;?>",field: "PR_GRP_NAME" },
{ title: "<?=$LBL_ACTIVITIES_FIELD_OWNER_NAME;?>",field: "OWNER_NAME" },
{ title: "<?=$LBL_ACTIVITIES_FIELD_EXP_DT;?>",field: "EXP_DT" },
{ title: "<?=$LBL_ACTIVITIES_FIELD_UPDATED;?>",field: "UPDATED" }
],
toolbar: [ "save", "cancel","destroy","create" ] // adds save and cancel buttons
});
});
thanks
Giulio
just attached a snapshot:
this is my grid declaration:
$(function() {
$("#grid").kendoGrid({
pageable: true,
dataSource: {
type: "json",
serverPaging: true,
serverSorting: true,
transport: {
read: "?module=<?=$_REQUEST["module"]?>&applettype=kserver&mode=action&q=2" ,
},
schema: {
data: "data",
total: "total",
model: {
id: "id",
fields: {
NAME: { editable: true },
STATUS: { editable: true },
UPDATED: { editable: true },
}
}
},
pageSize: <?=$ROW_LIMIT?>,
serverPaging: true,
error: function(e) {
alert(e.responseText);
},
//sort: { field: "CREATED", dir: "asc" },
},
editable: true,
//navigable: true,
selectable: true,
//scrollable: true,
sortable: {
mode: "single", // enables multi-column sorting
allowUnsort: true
},
columns: [
{ title: "<?=$LBL_ACTIVITIES_FIELD_CREATED;?>",field: "CREATED" },
{ title: "<?=$LBL_ACTIVITIES_FIELD_NAME;?>",field: "NAME" },
{ title: "<?=$LBL_ACTIVITIES_FIELD_AREA;?>",field: "AREA" },
{ title: "<?=$LBL_ACTIVITIES_FIELD_STATUS;?>",field: "STATUS" },
{ title: "<?=$LBL_ACTIVITIES_FIELD_PRIORITY;?>",field: "PRIORITY" },
{ title: "<?=$LBL_ACTIVITIES_FIELD_RECURSE_SAVE;?>",field: "RECURSE_SAVE" },
{ title: "<?=$LBL_ACTIVITIES_FIELD_PR_GRP_NAME;?>",field: "PR_GRP_NAME" },
{ title: "<?=$LBL_ACTIVITIES_FIELD_OWNER_NAME;?>",field: "OWNER_NAME" },
{ title: "<?=$LBL_ACTIVITIES_FIELD_EXP_DT;?>",field: "EXP_DT" },
{ title: "<?=$LBL_ACTIVITIES_FIELD_UPDATED;?>",field: "UPDATED" }
],
toolbar: [ "save", "cancel","destroy","create" ] // adds save and cancel buttons
});
});
thanks
Giulio