Hi, the key is the Renderer class (http://gwt-ext.com/docs/2.0.4/com/
gwtext/client/widgets/grid/Renderer.html).
In example:
columnsConfig[i].setRenderer(new Renderer() {
public String render(Object value,
CellMetadata cellMetadata, Record record, int rowIndex, int colNum,
Store store) {
return "<a href='/static/blabla/
some_resource.do'>link</a>";
}
});
I hope it helps you...
Leo
On Jan 14, 11:06 am, nits <[email protected]> wrote:
> Hi all,
> I am trying to put Hyperlink to any specific field in GridPanel (in
> gwt-ext).
> I mean I have to make hyperlink to all the cell values for that field.
>
> Is it possible, if yes then
> what steps I have to take for render such type of GridPanel.
>
> Any link , example any thing will be appreciated.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---