Forum
14:05
02/04/2009
When calling clearGridData on jqGrid with data and setted cells widths - data cleared with widths. After this when adding new data to jqGrid - all setted widths are reseted too.
How to fight this so clearGridData clears only grid content, not settings?
Width settings are:
colModel:[ {name:'title',index:'title',width:300}, ….
After clearGridData - table header works just fine, as before calling clearGridData but data cells width - reseted.
in the same time if I using delRowData - all is ok. styling width data not reseted
$('#tableID').clearGridData();
for (i=0; i<itemsCount;i++)
{
$('#tableID').addRowData(i+1, {
id: someIdVar,
…
state: 'waiting'
});
}
03:03
Moderators
30/10/2007
Hello,
Thanks. The problem appear to be in addRowData when you add row with possition diffrent to first. Will apply the fix.
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.
13:03
Moderators
30/10/2007
Helllo,
You can download the fix from GitHub. Also the problem refer in case when we have more than one grid. You can view the changes in the 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:
37 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