Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Re-sort records after new record is added

$
0
0
I've found an interesting behaviour of the listgrid.

We are currently using: SmartClient Version: v10.0p_2015-05-25/LGPL Development Only (built 2015-05-25)

We have editable listgrid with client only datasource:
data fetch mode - BASIC
save locally - true
can sort - false
can reorder records - true
There is initial sort

After the data is fetched the sort is cleared (clearSort()) in order to add new records at the end of the list.

Scenario:

1. Load data
2. Reorder some records
3. Add new record
4. The grid is sorted and the new positions of the records are lost

My Question is how can i prevent the sorting after adding new record?

Viewing all articles
Browse latest Browse all 4756

Trending Articles