PDA

View Full Version : grid grouping question



markmacumber
6 Aug 2009, 6:47 PM
I was just wondering if anyone out there has a possible solution to something that I have been asked to investigate.

Currently we have an app that displays an old grid written in custom JavaScript and are looking to replace it with a nicer grid implementation (i.e. ExtGWT hopefully). But there are a few small "features" of the existing grid that must remain, or at least, be replaceable.

The main one is that the existing grid has grouped rows like this:
Item


------------------------------------------------
Cars | Automatic | 123
| Manual | 446
| 4x4 | 990
------------------------------------------------
Each entry is a row, i.e. there are 3 rows, and they all share the same "group" (i.e. Cars) so the Cars text does not show up in all the rows, as this would be redundant.

So I looked into the grouping that ExtGWT currently has in the demos, and this: http://extjs.com/examples/#grouping is all I could see, which has a different sort of idea behind it.

It wouldn't be so bad if the "group" row was editable and very customisable, and the only way I can see that happening is via a lot of custom JSNI based calls, which arent too nice to work with.

Does anyone have any ideas around this or perhaps a better idea?

Cheers,
Mark

Arno.Nyhm
10 Aug 2009, 4:01 AM
did you look at this?

http://extjs.com/examples/#editortreegrid

markmacumber
10 Aug 2009, 4:37 PM
I will take a look, but at the moment the examples seem to be down!?!?!

Arno.Nyhm
11 Aug 2009, 12:56 AM
now the examples are up :-)

markmacumber
11 Aug 2009, 2:31 PM
Ok, so I can see where that would be of benefit, but we are really after the grid approach here. Thanks for the link though...