Multiselect IN JQ Grid


jQuery(
"#list1").jqGrid({
datatype:
"local",
colNames: [
'Inv No', 'Date', 'Client', 'Amount', 'Tax', 'Total', 'Notes'],
colModel: [
{ name:
'id', index: 'id', width: 60, sorttype: "int" },
{ name:
'invdate', index: 'invdate', width: 90, sorttype: "date" },
{ name:
'name', index: 'name', width: 100 },
{ name:
'amount', index: 'amount', width: 80, align: "right", sorttype: "float" },
{ name:
'tax', index: 'tax', width: 80, align: "right", sorttype: "float" },
{ name:
'total', index: 'total', width: 80, align: "right", sorttype: "float" },
{ name:
'note', index: 'note', width: 150, sortable: false }
],
multiselect:
true,
rowNum: 10,
rowList: [5, 10, 20, 50, 100],
pager: jQuery(
'#pager1'),
sortorder:
"desc",
viewrecords:
true,
caption:
"Manipulating Array Data"
});

you seen that the orange bold color is the property of the multi select in JQ Grid
Ebook Download
View all
Learn
View all