PDA

View Full Version : Need suggestion on Grid selection



25 Jun 2014, 1:45 AM
Hello , I am trying to create a grid like below. Can any one suggest what Ext grid that I should use? This grid does not need edit feature... Thanks in advance...

mdnaveed42
25 Jun 2014, 3:28 AM
Hi,

Have a look at this one:
http://docs.sencha.com/extjs/4.2.2/extjs-build/examples/grid/group-summary-grid.html

Thanks,
Md Naveed
\m/

25 Jun 2014, 6:25 PM
Hello Md,

Suggested grid might not work in our case.

The grid I am looking for has following characteristcs:
1) The most left column is a group by (department) function
2) Each column after that is dynamic, meaning, different department may have different number of items in each phase...

Your further suggestion is much appreciated.

Thanks,

John

skirtle
25 Jun 2014, 7:16 PM
It doesn't look like your rows behave like rows in the traditional sense. I'd be tempted to use a renderer on the column to output multiple 'rows' into a single cell.

Conceptually a bit like this:


renderer: function() {
return 'Delivarable 1.1<br>Delivarable 1.2<br>Delivarable 1.3';
}

...though obviously you'd need to create the content dynamically and there'll need to be more mark-up to create those coloured squares.

It's not entirely clear which grid features you actually need, rather than just using an HTML table.