Forum


03:35

19/05/2011

I have multiselect:true and used hideCol('cb') to hide the checkbox column.
I also have a Grid within a Subgrid setup.
The problem is, when I click the plus to open the subgrid, there is still an extra column that acts as "padding" in the subgrid row so that it lines up with the checkbox column in the parent grid. Since the checkbox column in the parent grid is hidden though, the subgrid ends up getting pushed ever further right.
This is what the subgrid with three columns looks like, when below a parent grid with 3 columns, the "plus" column and no multiselect (checkbox) column:
<tr class="ui-subgrid" role="row">
<TD colSpan=1> </TD>
<TD class="ui-widget-content subgrid-cell"><SPAN class="ui-icon ui-icon-carat-1-sw"></SPAN></TD>
<TD class="ui-widget-content subgrid-data" colSpan=3>
...
</TD>
Notice the "<TD colSpan=1>..." If I turn multiselect off, that extra column does not appear.
Any ideas? That TD has no name or class associated with it. It is always the first child of rows that are class "ui-subgrid". If I could hide this column I'd be all set.
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