You can use a CompositeCell
List<HasCell<NavTreeItem, ?>> hasCells=new
ArrayList<HasCell<NavTreeItem,?>>();
//code to create the 2 columns.
hasCells.add(checkBoxColumn);
hasCells.add(mainTextCol);
* CompositeCell<NavTreeItem> cc=new
CompositeCell<NavTreeItem>(hasCells);*
return new DefaultNodeInfo<NavTreeItem>(dataProvider, *cc*
,selectionModel,null);
Thanks,
Subhro.
On Mon, Dec 20, 2010 at 10:16 AM, salmon david <[email protected]>wrote:
> Hi all,
> I am going to use CellTree. But i need to create multiple columns like
> name, age, phoneno etc. is it possible to set multiple columns with
> celltree? if possible, how to do that? please can u post code snippet
> for that?
> thanks in advance..
>
>
> thanks,
> salmon
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" 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/google-web-toolkit?hl=en.