Create a hierarchical dynamic grid with GWT -
i'm trying create grid in gwt representing hierarchical data. columns different levels same , represent if product available category or not.
something that:
| b | c | d + product 1.1 x x x + product 1.2 x x x + product 1.3 x x + product 2.1 x + product 2.2 x ...
i though use celltable , add handlers show/hide rows, how shall manage hiding descendant?
basically, work in mvc. controller catches event, update model, , asks dataprovider refresh display.
the simplest can think of when catch event asking hide descendant of, instance, product 2.1, cycle through model objects (a list guess) , update child element accordingly. refresh celltable using appropriate methods on dataprovider.
Comments
Post a Comment