Forum
06:15
10/09/2009
Hello, first I'd like to say that jQuery Grid is a great plugin and I like it a lot. Today I installed a new version of the Grid (Old: 3.5.2 / New: 3.5.3) and noticed that the grid didn't work anymore. I noticed that if I use a the local datatype und have none rows but try to set a new width, I'll get the following error from Firebug (1.4.2): $t.grid.cols[lvc] is undefined
I use this code:
datatype: "local",
autowidth: true,
height: 500,
gridview: true,
loadonce: true,
deselectAfterSort: false,
forceFit: true,
rowNum: -1,
sortname: 'rowid',
colNames: ['Id', 'Number','Description', 'Street', 'Zipcode 'City'],
colModel: [{name:'rowid', hidden: true},
{name:'number', width: 80},
{name:'description'},
{name:'street'},
{name:'zipcode',width:60},
{name:'city'}],
ondblClickRow: function (rowid, iRow, iCol) {
$('#editRow').trigger ('click');
},
onSelectRow: function () {
selectId = $('#myTbl').getRowData ($('#myTbl').getGridParam('selrow')).rowid;
}
});
$('#myTbl').setGridWidth (600);
With grid version 3.5.2 this code worked.
07:38
Moderators
30/10/2007
Hello,
Thanks. It is a bug. Fixed.
Best Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
02:40
Moderators
30/10/2007
Hello,
Will publish soon the fix in GitHub.
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
Most Users Ever Online: 715
Currently Online:
73 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