Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
ids are not unique
30/08/2009
11:47
Avatar
markw65
Member
Members
Forum Posts: 179
Member Since:
30/07/2009
sp_UserOfflineSmall Offline

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

30/08/2009
11:51
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

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.

24/01/2011
00:54
Avatar
wojciech
Poland
New Member
Members
Forum Posts: 2
Member Since:
24/01/2011
sp_UserOfflineSmall Offline

There are more. All navigation buttons have id's like "next" and "prev".

I'm actually having issues because of this - automated acceptance tests  (Watir, Selenium etc) can't find elements when XHTML specs are broken.

27/01/2011
14:50
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

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.

Forum Timezone: Europe/Sofia

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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information