Hi,
the event-argument you get contains a getColumn()-method, which in
turn returns a Column?,?-object. You can use this to find the column
the user has clicked.
I use a custom Column-class, that itself keeps a name. This way I can
cast the column-object into the class I have created, that has a
thanks for your suggestion
i am using like below:
ColumnT, String col = (ColumnT, String) event.getColumn();
int index = dataGrid.getColumnIndex(col);
//contains the column name list
columnList = VO.getColumns();
String columnName
Hello All,
I am implementing ColumnSortEvent.Handler in my class in
which i am making a datagrid ,am overriding its onColumnSort method.
public void onColumnSort(ColumnSortEvent event) {
}
here in this method ,how can i find the name of my column who has been
clicked.