Hi all,

I've got a problem with a custom overriden AdvancedDataGrid I've made
: I want to "exclude", or omit the LAST element (that I've stored in a
property of my overriden DataGrid) in sorts.

For example, let's say that I'm going to sort column #1, which is
provided with strings, and all I want is the normal sort to occur,
except for the last item which is to stay where it is..

I also want this modification to be global (that's why I've overriden
the component).

I've tried several approaches :
  - Overriding the protected methods sortHandler and
headerReleaseHandler (found in AdvancedDataGrid).
  - Overriding the method addSortField.

The last attempt proved to work better, but alas doesn't sort more
than once : I can't revert the "descending" property of the SortField.

Any idea on how to do that ?

Big thanks in advance

Pierre

Reply via email to