Forum


Hi Tony, I have a problem, I use the newest 3.2 version, and I have one column in colModel with hidden:true attribute (to hide that column on load) and I have a link to show that column
( jQuery(”#hd”).click( function() { jQuery(”#list”).hideCol(”date”); }); where hd is id of that link)…so, this doesn't work.
When i delete attibute hidden:true and add next link with “hideCol” everything works fine, but I want that column should be hidden on start. Do you have any idea how to do that?
regards Paul
05:18

Moderators
30/10/2007

Pako hideCol hides the column. In your case you try to heide allready
hidden column. Instead use
( jQuery(”#hd”).click( function() { jQuery(”#list”).showCol(”date”); });
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.
05:39

Moderators
30/10/2007

It works for me. Chack the names or if you applay this button to the right
grid - I mean does the grid with such name exists
Reagrds
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.
05:40

Moderators
30/10/2007

Sorry the right is
does the grid with such ID exists
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.
Hmm, everything is ok, look,
- Everything is ok when I have only two buttons (showCol and hideCol) and column initially shown (without hidden:true attr in colModel)
- If I add hidden:true attr. in colModel, button with showCol doesn't work.
And for more fun, I have checked that on 3 browsers. The problem above is on FF 3.0, on IE 6.0 grid even don't load any of data, but show alert (Length of colNames <> colModel or 0!
Only on Opera that code works fine. What browser do you use?
Regards Paul
06:22

Moderators
30/10/2007

Paul,
You have a problem in colModel definition. Check to see if your last column
ends with , also check again the colModel and colNames definituins
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.
06:54

Moderators
30/10/2007

If possible send me a link to the problem, or write me to: tony at trirand dot com
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.
06:57

Moderators
30/10/2007

If this is not possible please send me the html with java script code
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:
77 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