Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
260
Grouping issue while updating datasource
posted

Hi

I am using a typed dataset to bind to the xamGrid. The data keeps changing in the dataset. If I group the rows based on a changable column the grouping needs to refresh. But many a times the groupiing goes wrong , scenario as below:

Grouped based on Status: Connected, Connecting, Running

Connected +-
 job1
 job2

Running +-
 job3
 job4

Connecting +-
 job5
 job6

The above is just after grouping, but as soon as a number of updates happen on the status column:

Connected +-
 job1

Running +-
 job3
 job4

Connecting +-
 job5

Running +-
 job6
 job2

The above last group should have never occured as there is already a group for "Running" status.
As far as the code goes I just added the below code to ensure the grouping is ensured:

dataRecord.RefreshSortPosition(); //for every update

Any help is appreciated.

Thanks
Avinash 

Parents Reply Children
No Data