Hi Sowjanya

I think your question should start in a new thread ;-)


On Tue, Jun 30, 2009 at 3:51 PM, Sowjanya Yerramneni <[email protected]>
 wrote:

> Hi,
>
> Can anyone help me out explaining how to add a hyperlink in a cell for any
> grid?
> I could set simple data into my grid but unable to find out how to add a
> hyperlink in one of the columns.
> Please let me know.
>


Can you try if the following code works for you?

public void onModuleLoad() {
 Hyperlink link = new Hyperlink("Hello", "token");
 Grid panel = new Grid(1, 1);
panel.setWidget(0, 0, link);

RootPanel root = RootPanel.get();
root.add(panel);
}


-- 

Hez

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to