Reputation: 33
Im working on a application in which the user has a GWT Celltable and when the column header is clicked, the name of the column should be displayed as a window alert. I checked out many tutorials but haven't found the solution. Please suggest me if there is any click handler function to get the name of the column by clicking on the header in GWT Celltable.
Upvotes: 0
Views: 526
Reputation: 41099
You can override onPreviewColumnSortEvent
for a column header and call getValue()
on the header to get the text of the header.
Upvotes: 0