Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1045
igHierarchicalGrid layout
posted

HI Experts,

I've put lots of thought into how to make this done, but still no luck.
The difficult part of this is all inner grids shares the same columns with outer gird. My datasource is grouped by school first, then by department. But notice, school column is on the outer grid, but department is not outer grid's column. I'd like to show the department row right beneath the school row, with no indent needed. And the inner grid's header is hidden. Actually the outer grid has all headers of both outer grid and inner grid. Please help, thanks in advance.

Parents
No Data
Reply
  • 15320
    Verified Answer
    Offline posted

    Hello Ming,

    Regarding the header question, I can suggest you to hide the child grid (inner grid) header by setting showHeader option to false and in order to show this header in the parent grid (outer grid) you need to do it manually as for example create similar table and append it to the parent grid table. Regarding your second question about positioning child row right beneath the parent row, I assume that this could not be achieved because the child grid table offset is because of the data-skip column that holds the expand/collapse sign. If there's no such column, then how would you demonstrate the hierarchy of your grid? If you have any further questions, please let me know.

      

    Regards,

    Tsanna

Children