May 01, 2013, 6:09 PM
GridPanel for and TreePanel
Hi, I have a complete GridPanelFor, with CRUD operations and some stuff (double click on cell, etc..).
Now I would like to have the same grid with a Tree column.
I suppose it has to be reweritten using TreePanel?!
There is a way to make a TreePanel, without bind it statcally to a Model, and using it like the GridPanelFOR component?
There is a sample of it?
I noticed also that there is a single component called TreeColumn, which can be added to the GridPanelFor. I tried to do it, but the Grid isn't able to load adta, if there is a TreeColumn in it (specially i noticed that rows are created, since the rowNumbererColumn enumerates lines, but no datas are written to fields). Is possible to use that TreeColumn inside a GridPanelFor?
I haven't posted code, because it is too long. If you suggest me what can be useful, I'll post every try.
Thank's.
(Ext 2.2, MVC 3, Razor)
Now I would like to have the same grid with a Tree column.
I suppose it has to be reweritten using TreePanel?!
There is a way to make a TreePanel, without bind it statcally to a Model, and using it like the GridPanelFOR component?
There is a sample of it?
I noticed also that there is a single component called TreeColumn, which can be added to the GridPanelFor. I tried to do it, but the Grid isn't able to load adta, if there is a TreeColumn in it (specially i noticed that rows are created, since the rowNumbererColumn enumerates lines, but no datas are written to fields). Is possible to use that TreeColumn inside a GridPanelFor?
----GridPanelFor...----
.ColumnModel(cm =>
{
cm.Columns.Insert(1, new TreeColumn);
})
Can i do such a thing?I haven't posted code, because it is too long. If you suggest me what can be useful, I'll post every try.
Thank's.
(Ext 2.2, MVC 3, Razor)