Thank you! I got the Grouping working. Your great.
I was if there is any information on how the temaplating works. In
your example below you added this line to display the GroupField name.
Is there anyway that I can display another field besides the GroupField
name?
On Sun, Sep 14, 2008 at 12:02 AM, Bakulkumar wrote:
>
Yes, you can make the editable grouping grid.
Here are the several things, that should be in your code:
1 - in EditableGrid
//Apart from setting ColumnModel, Store and other properties
GroupingView gridView = new GroupingView();
gridView.setForceFit(true);
gridView.setGroupTextTpl("{text}");
grid.setView(gridView);
grid.setClicksToEdit(1); //or 2, whatever your req
2 - in GroupingStore
//Apart from setting data proxy and reader
store.setSortInfo(new SortState("fieldName", SortDir.ASC)); //
Grid will be sorted in group according to this field
store.setGroupField("groupingFieldName"); //Grid will be
grouped by this field
This is working for me.
Post your code or sample of code if it doesn't work for you.
-Bakul.
On Sep 10, 5:01 pm, BMR <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED]> > wrote:
> Hi;
>
> Has anyone gotten the Grid Grouping using the EditorGridPanel. When I
> try to set the setGroupField I get a " "null" is null or not an object
> exception". Any Ideas??
>
> I am trying to get the view of the Grouping Grid example to work with
> my EditorGridPanel so the user can click and edit on a cell. Can I get
> that effect with the EditorGridPanel?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---