Forum
02:59
20/01/2010
Hi,
After upgrading to 3.6.2 from 3.5 some of my grid stoped working and 'ts.grid is undefined' started to appear on firebug's console.
Here is an example code failing:
$("#childs-grid").jqGrid({
url: '/ListUrl',
colModel: [
{ name: 'Id', width: 5, align: 'center', hidden: true, editable: false },
{ name: 'AccountCode', width: 15, align: 'center', editable: true, editrules: { required: true} },
{ name: 'Credit', width: 15, align: 'right', editable: false },
{ name: 'Disabled', width: 15, align: 'center', editable: true, edittype: 'checkbox' },
{ name: 'Disabled Since', index: 'DisabledSince', width: 15, align: 'center', editable: false },
{ name: 'Notes', width: 100, align: 'left', editable: true }
],
align: 'center',
gridstate: 'hidden', // Initial state == hidden
hiddengrid: true, // FIXME: fails on jqGrid 3.6.2..
rowNum: 10,
height: false,
caption: 'Business units list',
create: true,
altRows: true, // Alternate colors between rows..
pager: jQuery('#childs-pager')
});
10:27
Moderators
30/10/2007
Hello,
Please verify that all your needed JS files are loaded. To do this you can use FireBug Net tab.
ts.grid mean that something is missed from the package. Also be a sure you have downloaded all the needed module,
following this instructions
http://www.trirand.com/jqgridw.....i:download
http://www.trirand.com/jqgridw.....to_install
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.
08:22
Moderators
30/10/2007
Hello,
These
gridstate: 'hidden', // Initial state == hidden
hiddengrid: true, // FIXME: fails on jqGrid 3.6.2..
have the same thing and you should not set them together.
The right is to set only
hiddengrid: true
gridstate is used internally to determine the state of the grid.
Also do you have updated the language file and the CSS file?
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.
Most Users Ever Online: 715
Currently Online:
40 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