简体   繁体   中英

Ajax Grid field grouping

I research modern Ajax Grids capable of grouping rows by fields (into collapsible sections), in a manner similar to ExtJs Grid grouping .

Important requirements to such a grid is not only grouping, but sorting by multiple fields, eg by country and gender. Ideally user needs to be able to select fields to group by (sort by) dynamically. I don't expect grids to do it, but knowing that given Ajax grid at least allows to build such a feature would be good.

Such a grid exists in ASP.Net world - http://demos.devexpress.com/ASPxGridViewDemos/GroupingSorting/Grouping.aspx - see it allows dynamic grouping by dragging required columns to upper bar. But as PHP developer I am not sure such thing exists as pure js-lib or as some PHP library.

What are other grids, except ExtJs grid, that support flexible/nested/dynamic field grouping, for using it in PHP?

jqgrid does! I use it for adjacency lists and nested sets.. you can also do the whole expanding thing too:

http://trirand.com/jqgrid/jqgrid.html

  1. (click Advanced => Subgrid)
  2. (click New in version 3.4 => Tree Grid Adjacency model)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM