PDA

View Full Version : GroupingView and missing field



Kutu
27 Aug 2008, 3:29 PM
I realized that if one chooses to group models by a specific field, that particular field will be included from the EditorGrid.

One issue I've encountered while playing around with EditorGrid is this:
1) If using GroupingView: you can't edit the model's particular field

This effectively close down the opportunity to move one model to another group.

2) If not using GroupingView: you won't have the nice looking header

This is just like sorting by.

Any reason why the field shouldn't be there if GroupingView is applied?

gslender
28 Aug 2008, 11:11 PM
I don't think it would be wise to show the group by column so that it can be edited - doing so would look wierd, but in saying that, you can have the user change the group by in the column, edit the value and then re-group by.

The header missing is not really the same as a sort - its a grouping and the header only makes sense to a grouped set of rows... the header applied to a sort is the grid header itself?