:: Forum >>

sorting null values in grid

I am applying the sorting for the grid column which have integer values and some records have null values. It is not sorting the records properly. After applying the sorting the columns shows the null records in between the records which have values. In my point of view the null values should come first or last of the field as whole but it mingled with the values records.
I used the setTextFormat("###") for the column for applying the integer sort. But it is not working.
Thursday, January 17, 2008
You can customize null/error value processing with setErrorText and setErrorValue methods -


Custom error value affects the item position after sort (try 0 or Infinity). Custom error text defines what the end user will see.
Alex (ActiveWidgets)
Friday, January 18, 2008
I tried but it is affecting. I found that the field having empty value.
Friday, January 18, 2008

This topic is archived.

Back to support forum

Forum search