Forum
20:26
13/02/2011
Hi,
following snippet:
...
colModel:[
{name:'client.name1',classes:'client', index:'client', width:250,sorttype:"int", editable: true,edittype:"select",...
As you can see. The json reply contains a structure where in the record set is a client and inside the client is a name1 attribute. This works well apart from the fact that the css ID that is generated is: jqgh_client.name1
The css selector spec forbids dots inside ID names. I would propose some kind of transformation here to underscore or something.
The point is, i need to select this column via CSS selector and this is not possible anymore by ID.
Thanks
Marc
16:44
Moderators
30/10/2007
Hello,
Use jsonmap property. Actually which version do you use? This should be fixed in the last one
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.
17:32
Moderators
30/10/2007
Hello,
There is a function called $.jgrid.jqID( id );
You will need maybe to look here:
http://stackoverflow.com/quest.....ains-a-dot
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.
18:17
Moderators
30/10/2007
Hello,
It is fixed, but if you want to try to select this manually you should apply this function.
Would be nice to hear from you a solution for
better ID construction in jqgrid.
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:
58 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