Sorting FMXGrid with livebinding

When activate sorting on the grid with a livebinding.  The underlying datasource will not follow the sorted data.

This must be a bug.  Is there any workaround?

You can reproduce this behavior with the provided Livebinding demo.
(set sortingmode from grid to gsmNormal) -->  run the demo --> when sorting and scrolling the data --> the datafield's above the grid are not showing the correct data.

Thx for feedback.

Sorry, sorting in combination with LiveBindings is not yet supported. This is on our todolist for investigation.

Hoping for your understanding,

Kind Regards, 
Pieter

Hi Pieter,


Any update about this?  

Hi, 


Unfortunately sorting is not yet supported directly inside the grid, you need to perform a manual dataset sort
from the OnCanSort event and return an Allow := false to block internal sorting. The dataset will then automatically sort the data and return it, causing the grid to reload the data.

We will investigate this here if we can add support for this.

Kind Regards, 
Scheldeman Pieter