I'm workin on a web app using gwt, I have a celltable with textcolumns I want to add a column that will contain links, once the user clicks on a cell of this column he is forwaded to the link.
How can I do such a thing in gwt?
I'm workin on a web app using gwt, I have a celltable with textcolumns I want to add a column that will contain links, once the user clicks on a cell of this column he is forwaded to the link.
How can I do such a thing in gwt?
Copyright © 2021 Jogjafile Inc.
You would have to use a cell of appropriate type such as ClickableTextCell or ButtonCell as well as a FieldUpdater.
Basically you can add a FieldUpdater to your column as such:
Where value in this case is the url. update() will be called when the column is clicked.