Thanks :) Yes, I have implemented it and resolved this issue.
@Override
public void render(com.google.gwt.cell.client.Cell.Context context,
SearchItem value, SafeHtmlBuilder sb) {
for (HasCell<SearchItem, ?> hasCell : searchCells) {
render(context, value, sb, hasCell);
}
}
protected <X> void render(Context context, SearchItem value,
SafeHtmlBuilder sb, HasCell<SearchItem, X> hasCell) {
Cell<X> cell = hasCell.getCell();
sb.appendHtmlConstant("<div
style='display:block;padding-bottom:5px;'>");
cell.render(context, hasCell.getValue(value), sb);
sb.appendHtmlConstant("</div>");
}
Thanks,
Bhumika
On Friday, 27 September 2013 18:27:34 UTC+5:30, Thomas Broyer wrote:
>
> The default implementation of render(Context,Element,C) in CompositeCell
> is:
>
> ```java
> for (HasCell<C, ?> hasCell : hasCells) {
> render(context, value, sb, hasCell);
> }
> ```
>
> You can easily override it with code that wraps each call to
> render(Context,C,SafeHtmlBuilder,HasCell) into a <div>, or builds a
> <table>, or whatever.
>
> On Friday, September 27, 2013 1:51:04 PM UTC+2, Bhumika Thaker wrote:
>>
>> Hi All,
>>
>> I want to show *CompositeCell 's * cells vertically as It's coming
>> horizontally.
>>
>> How can I do it?
>>
>> Thanks,
>> Bhumiak.
>>
>>
>>
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.