mohsensd1373 / smartgwt

Automatically exported from code.google.com/p/smartgwt
0 stars 0 forks source link

Group controls in groupable table #15

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Here is except from discussion about group controls:
http://forums.smartclient.com/showthread.php?t=3107

When we group large table is it possible to have
pagination controls within each group?

Is it possible to add individual controls for each group header?

Something like:

http://www.gwt-ext.com/demo-ux/#gridRowActionsSample

Thanks,
--MG

----------------------------------

Isomorphic  Isomorphic
Administrator

Join Date: May 2006
Posts: 5,125
Default
The built-in grouping behavior doesn't have pagination (all data needs to
be loaded client-side for a purely client-side grouping behavior). Where
did you have in mind placing the pagination controls? As a custom
component, you might built this as a SectionStack of ListGrids..

On controls in the group header, you could do this with an override
getGroupTitle() that produces <img> tags.

----------------------------------

mgrouch  

It would be very difficult to align columns across groups if we
implement it as Stack of ListGrids.

Also client side grouping doesn't make much sense with large tables.
If you ask to group by you would not even end up displaying all groups
available in whole dataset.

With server side grouping and pagination each group has to be paginated
separately so logically pagination control for each group could be
somewhere next to 'minimize/maximize' group control.

Thanks,
--MG

Original issue reported on code.google.com by mgrushin...@gmail.com on 1 Dec 2008 at 3:57

GoogleCodeExporter commented 8 years ago

Original comment by sanjiv.j...@gmail.com on 10 Apr 2009 at 8:28

GoogleCodeExporter commented 8 years ago
Support for custom header rendering added. No plans to support paging of groups.

Original comment by sanjiv.j...@gmail.com on 17 May 2009 at 7:30