kishorekadiri
29 Jun 2009, 9:40 AM
I am new to ExtGWT, as I understood from examples, multiple rows of text data can be placed in column of a ListView using native Template, for eg:
---
private native String getTemplate() /*-{
return ['<tpl for=".">',
'<div class="thumb-wrap" id="{Eventday}{Eventmonth}{Eventyear}" style="border: 1px solid gray; float:left; width: 14%">',
'<tpl for="eventlist">',
'<div class="thumb">{startTime}-{endTime}: {comments}</div>',
'</tpl>',
'<span class="x-editable">{Eventday}{Eventmonth}{Eventyear}</span></div>',
'</tpl>',
'<div class="x-clear"></div>'].join("");
}-*/;
--
But I would like to know if we can place ContentPanel or HtmlContainer as a column data instead of using above template? I am planning to implement Monthly-View of a calender as similar to Outlook, where we have option to edit existing event, context-menu to accept invitation, open occurence, etc..
Appreciate expertise thoughts as soon as possible.
Thanks,
Kishore
---
private native String getTemplate() /*-{
return ['<tpl for=".">',
'<div class="thumb-wrap" id="{Eventday}{Eventmonth}{Eventyear}" style="border: 1px solid gray; float:left; width: 14%">',
'<tpl for="eventlist">',
'<div class="thumb">{startTime}-{endTime}: {comments}</div>',
'</tpl>',
'<span class="x-editable">{Eventday}{Eventmonth}{Eventyear}</span></div>',
'</tpl>',
'<div class="x-clear"></div>'].join("");
}-*/;
--
But I would like to know if we can place ContentPanel or HtmlContainer as a column data instead of using above template? I am planning to implement Monthly-View of a calender as similar to Outlook, where we have option to edit existing event, context-menu to accept invitation, open occurence, etc..
Appreciate expertise thoughts as soon as possible.
Thanks,
Kishore