Need a special offer?Find out if your project fits.
+

sorting is lost when we do updateData with partial true

Answered
Sohan asked on September 22, 2017

I am getting data in real time from third party which I am feeding to flex using updateData(partial : true), I had sorting enabled on one of the columns, which gets removed with updateData method. Note if I had filters applied on the column, it remain even after updateData

3 answers

Public
Tanya Gryshko Tanya Gryshko Flexmonster September 22, 2017

Hello, Sohan,
Thank you for reporting the issue.
Please check the following example: http://jsfiddle.net/flexmonster/n9hw8ab0/3/. Everything seems to be working just fine. I have set desc sorting for Price and after updating the data via updateData(partial:true) the sorting is still desc. Maybe you could modify this example to demonstrate the issue?
We are waiting for your feedback.
Regards,
Tanya

Public
Sohan September 25, 2017

You are right, it's working with single column sort and looks like I was trying with multi column.  
 
Now I am looking for multi column sort in flat layout, looks like it's not supported as per this post.

http://www.flexmonster.com/question/flat-view-sorting-with-multiple-columns-is-not-working/
 
Any chance of having this anytime soon ?

Public
Tanya Gryshko Tanya Gryshko Flexmonster September 29, 2017

Hello, Sohan,
Thank you for your reply.
This feature requires a significant amount of development time. That is why there are no plans to add this feature in the closest releases. We will update you with any new details on the subject.
Regards,
Tanya

Please login or Register to Submit Answer