Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    cell hyperlink to change page...

    AS the url show http://www.smartclient.com/smartgwt/showcase/#grid_datatypes_link_text [^]
    It has a clear example on how to embed a link within a listgrid.

    I also need to display cell data looking like links (decorated with underlines using css), which when clicked can invoke some action such like change page...

    My question is, if one cell contain two hyper link, and the link url is get from some data service, how could we implement this ? please give some sample code , if possible.

    #2
    By using a CellFormatter on your ListGridField, you can embed whatever HTML content you want. The String returned by the formatter is HTML, so it can have <a> tags, <img> tags, etc,

    Comment

    Working...
    X