Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Andreas de Pretis on Nov 10, 2009 09:26
open dhtmlx forum
dhtmlxGrid groupBy and header

Hi,

is there a way to attach the header (including sorting posibilities) every n rows or - even better - every grouped "block" ... we have a quite huge grid using groupBy (no way around that) and having to scroll up the whole page to see what the column title is or to sort the grid/group is not really handy.

By the way, is row grouping+paging supported? - out of the box it works as long as you don't actually change the page, after that ungrouped rows show up. The same is true for out-of-the-box searching/filtering functionality ... I guess adding some event handlers that regroup the grid would solve the problem.

Thanks very much in advance.
Answer posted by Stanislav (support) on Nov 11, 2009 03:18
>>By the way, is row grouping+paging supported? 
Not supported. 

>>is there a way to attach the header
It is not possible

you can check sub-grids functionality , which will allow both header per each sub-grid and paging 
http://www.dhtmlx.com/docs/products/dhtmlxGrid/samples/07_extended_modes/03_pro_subgrids.html
Answer posted by Andreas de Pretis on Nov 11, 2009 04:51
Thanks for you answer ... but grouping is an essential functionality for us. If neither repeated headers for a big "autoheighted" grouped grid (about 15 screen-pages) nor paging+grouping are supported we have to abandon your otherwise excellent and unique dhtmlxGrid product.
Answer posted by Stanislav (support) on Nov 11, 2009 04:59
Unfortunately such functionality is not supported and it pretty complex to add it. 
As one more alternative solution you can consider TreeGrid usage , which also can be used to represent hierarchical data ( it supports paging )