开发者

how can i group specific rows

I have a grid with rows that can have same value in NumRow field

example : 4 records with the same field :

NumRow = 1234

I want to group them all and apply specific style.

And if I can brings them grouped after sorting on other fields.

infos : I am using

  1. RowSelectionModel : singleSelect :true

  2. Ext.data.GroupingStore1.

  3. Ext.grid.EditorGridPanel

The GridView :

开发者_StackOverflowvar gridView = new Ext.grid.GridView({
            showPreview: false, 
            enableRowBody: true
});


Shouldn't you be using GroupingView with a GroupStore?

  • http://dev.sencha.com/deploy/dev/docs/?class=Ext.grid.GroupingView
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜