Forum
10:29
17/08/2009
I am using jqGrid 3.5. I have a grid hosted by a jQuery UI dialog with multiselect set to true. The undesired behavior I'm seeing is when the grid contains multiple pages of data and I select any one row, all rows are selected (as though I selected the checkbox in the header but I did not). However, when the grid has only 1 page of data, selecting any one row selects just that row.
Note that I have not completely verified that this behavior is multipage vs. single page, but that's really the only difference.
I know this post is short on details, but I'm not sure what to provide.
Has anyone else experienced this behavior?
10:51
Moderators
30/10/2007
Hello,
I really want to help, but is difficult to understand. Also could you please check if you have uniquie id in the grid.
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.
11:02
17/08/2009
Thanks so much for your response Tony. May I say that I am very impressed with the grid control and very much appreciate your sharing this with the community.
I'm sorry for the confusing details.
As you've already diagnosed, it has nothing to do with the my orignal theory of the number of items or the contents of the item data. However, I have NOT tried looking to see if my ID fields are unique in both cases. That makes perfect sense and I should have checked that first.
I am multi-tasking between three projects at the moment so I will try this and report back as soon as I can.
Thanks again for your help.
peter
11:42
17/08/2009
The IDs I received from the backend service were all zeros when I point to the problematic service, but populated correctly when I point to the working service, so that was the problem.
My apologies for wasting your time and not debugging my own application properly.
In my defense ;), I'm getting the data from the same backend WCF service code hosted on two different machines but both services point to the same database where the unique keys are, so I'm not sure why one service does not return unique keys for each data row and the other does. But, that's my problem not yours :-).
Thanks again Tony!
Most Users Ever Online: 715
Currently Online:
49 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