Forum


11:47

30/07/2009

There are places where two grids on the same page will share id's.
So far, I've not actually seen any issues with this - for the most part the grid code uses $("#id", context), where the context limits the jQuery search to the grid in question, but AFAIK having two elements with the same id on a single page is not allowed by any standard - so there's really nothing to guarantee that it will work.
Specifically the multiselect check-all checkbox is always jqgh_cb .
Also, column header ids are just jqgh_<col_name>. Now I _could_ avoid duplicates by not using duplicate names - but (a) thats not anywhere in the documentation (that I can find), and (b) its not always convenient to do that (for example, in my setup, the server-side datasource defines the column names, and I could have two grids which present different views onto the same data; its quite likely they will share /some/ columns).
Mark
11:51

Moderators
30/10/2007

Hello Mark,
You are right. Will fix this. Thanks
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.
14:50

Moderators
30/10/2007

Hello,
Yes we done a lot of progres here and we will contionue with this.
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