Hello everyone,
I have the following code to create the table
I would add a column with a checkbox to cancel multiple lines. As you see I added the input, but I can not enter into the record ID value.
Thanks
I have the following code to create the table
<
div
id
=
"grid"
></
div
>
<
script
>
$(document).ready(function() {
$("#grid").kendoGrid({
dataSource: {
transport: {
read: {
url: "'.$url.'",
type: "post",
dataType: "json"
}
},
schema: {
model: {
fields: {
sel: {
editable: false
},
CODE: { type: "string" },
TYPE: { type: "string" },
CATEGORY_NAME: { type: "string" },
ARTICLE_NAME: { type: "string" },
}
}
},
pageSize: 60
},
height: 450,
scrollable: true,
groupable: true,
sortable: true,
filterable: true,
pageable: true,
selectable: "multiple row",
columns: [{
field: "sel",
template: "#= kendo.toString(\'<
input
type=\"checkbox\" id=\"select\" value=\"CODE\" />\') #",
filterable: false,
sortable: false,
width: 50
},
"CODE",
"TYPE",
"CATEGORY_NAME",
{
field:"ARTICLE_NAME",
filterable: true
}
]
});
});
</
script
>
I would add a column with a checkbox to cancel multiple lines. As you see I added the input, but I can not enter into the record ID value.
Thanks