nested slickgrid

197 views
Skip to first unread message

Divya Swarnkar

unread,
May 31, 2017, 5:35:47 PM5/31/17
to SlickGrid
Hi,
I would like to create nested grids, with different columns in parent and child grid. Please see the attached image for reference on what I am trying to achieve. Is it possible to do this in slickgrid. I couldnt find any examples on github.

Thanks
Divya






Steve Zlamany

unread,
May 31, 2017, 5:38:56 PM5/31/17
to slic...@googlegroups.com
Could you not do something like that with two grids having one hover above the other?

I've made the cells in rows different widths by hacking the CSS build logic.  Do that for subtotal and grand totals lines.  The cells do generally still align with the headings - just being double and triple width.

Your requirement would be to have an additional set of headings - I would experiment with a grid on top of another grid.

--
You received this message because you are subscribed to the Google Groups "SlickGrid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to slickgrid+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Divya Swarnkar

unread,
May 31, 2017, 6:50:37 PM5/31/17
to SlickGrid
Thanks for the inputs. If I draw another grid on top of the parent grid, it would cover the rows on the parent grid, right ? I do want to grid to appear as user expands the row in parent grid. I am still going to try this out.
To unsubscribe from this group and stop receiving emails from it, send an email to slickgrid+...@googlegroups.com.

Steve Zlamany

unread,
May 31, 2017, 8:34:35 PM5/31/17
to slic...@googlegroups.com
If you size it properly it will cover  the rows that "are not pertinent" and how the child rows for the parent you opened.  It's all a visual trick - right?

As I said it's possible to fake row CSS styles to make rows appear differently.  To make a whole new header row and scroll assignment for just those child rows is outside the capability I've seen from slickgrid.

To unsubscribe from this group and stop receiving emails from it, send an email to slickgrid+unsubscribe@googlegroups.com.

Steve Zlamany

unread,
May 31, 2017, 8:35:23 PM5/31/17
to slic...@googlegroups.com
I meant to say "and SHOW the child rows for the parent you opened."
Reply all
Reply to author
Forward
0 new messages