Forum
12:25
05/05/2011
If multikey: option is specified, clicking in some row checkbox puts chechboxes to all rows but no one rows are selected, row background does not change. How to fix ?
grid.jqGrid({
url: '<%= ResolveUrl("~/Grid/GetData?_entity=Strings")%>',
scroll: 1,
datatype: "json",
mtype: 'POST',
colModel: [
{ name: 'source', editable: true },
{ name: 'est', editable: true },
{ name: 'eng', editable: true },
{ name: 'rus', editable: true },
{ name: 'fin', editable: true },
{ name: 'lvl', editable: true },
{ name: 'ger', editable: true },
{ name: 'istopic', editable: true },
{ name: 'critical', editable: true },
],
ondblClickRow
: function (id) {
if (id && id !== lastSel) {
grid.restoreRow(lastSel);
lastSel = id;
}
grid.editRow(id, true);
},
rowNum: 100,
autoencode: true,
gridview: true,
pager: '#pscrolling',
sortname: 'est',
viewrecords: true,
sortorder: "asc",
caption: "Test",
rowList: [100, 1000, 100000],
editurl: '<%= ResolveUrl("~/Grid/Save?_entity=Strings")%>',
multikey: "ctrlKey",
multiselect: true
});
Most Users Ever Online: 715
Currently Online:
26 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66