Forum
14:06
10/08/2009
Hello Edotom,
it's definitively not a bug. Expanding of the subgrid is not the same as selection. Many subgrid can be expanded, but no row can be selected or the selected row can have no relation to the selected row.
You don't describe what exactly you try to do. The most scenarios can be implemented by usage subgrid callbacks (see the documentation). If you need to test whether some row is expanded (the "+" icon from the subgrid column was clicked before) then you can first get <td> which contains "+" or "-" icon (the <td> is the direct child having class "ui-sgcollapsed") and then you can test whether the cell have "sgexpanded" class or "sgcollapsed" class.
Best regards
Oleg
16:42
Moderators
30/10/2007
Hello,
This is just addition to Oleg's post. There is a option to do this, but in this case you can get only the last expanded subgrid row.
Look at selectOnExpand option here.
Thanks Oleg.
Â
Kind Regards
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:
62 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