PDA

View Full Version : Complicated Grid



bnpmahendra
21 Sep 2015, 5:36 AM
Hi Guys,

I want to create a grid which should looks like what is there in the attached image.

is it possible to create that kind of view with grid panel?

Regards,
Mahendra53277

joel.watson
21 Sep 2015, 8:43 AM
Hi--

Some of the grouped header can be accomplished: http://docs.sencha.com/extjs/4.2.4/extjs-build/examples/build/KitchenSink/ext-theme-neptune/#grouped-header-grid

However, the split row would require custom code on your part to manage, and would probably be easier to manage with a renderer that "fakes" the split.

http://docs.sencha.com/extjs/4.2.3/#!/api/Ext.grid.column.Column-cfg-renderer

Thanks!
Joel

jdkhamba
21 Sep 2015, 6:10 PM
For this type of layout I would probably not use a grid at all. Would rather use a dataview with
with a html template with tables to achieve that kind of interface. Would be a lot easier to bind nested data that way.

bnpmahendra
23 Sep 2015, 6:49 AM
However, the split row would require custom code on your part to manage, and would probably be easier to manage with a renderer that "fakes" the split.


Hi Joe, I am not able to fake the row split.

If you can provide the sample code then it would be great for me.

Thanks in advance Joe :)

Regards,
Mahendra