hi,
After sorting turned on , when edit a column, sorting gets turned off .
And i am trying to call different methods of sorting inside addDataChangedHandler , still sorting is not working.
Different methods tried :
setCanSort(true);
setCanReorderRecords(true);
setSortField(0);
resort();
................................................................................
addDataChangedHandler(event -> {
if (Boolean.TRUE.equals(this.getResultSet().lengthIsKnown())) {
GWT.log("spe" + getSortState());
String vs = getSortState();
GWT.log("sp" + vs);
setCanSort(true);
setCanReorderRecords(true);
setSortField(0);
}
After sorting turned on , when edit a column, sorting gets turned off .
And i am trying to call different methods of sorting inside addDataChangedHandler , still sorting is not working.
Different methods tried :
setCanSort(true);
setCanReorderRecords(true);
setSortField(0);
resort();
................................................................................
addDataChangedHandler(event -> {
if (Boolean.TRUE.equals(this.getResultSet().lengthIsKnown())) {
GWT.log("spe" + getSortState());
String vs = getSortState();
GWT.log("sp" + vs);
setCanSort(true);
setCanReorderRecords(true);
setSortField(0);
}
Comment