showbright1 / reusable-fx

Automatically exported from code.google.com/p/reusable-fx
1 stars 0 forks source link

The sort order and filter on columns for MDataGrid are not preserved if dataprovider refreshed #13

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. <controls:MDataGrid id="dgUserRequest" x="22" y="128" 
dataProvider="{itemResults}" rowCount="24" horizontalScrollPolicy="auto" 
copyDataProvider="true">
2. And I periodically refresh the dataprovider itemResults to refresh 
dataset
3. Now if I sort columns or put a filter on any column, after nect data 
refresh the sort order or filter is not reapplied.

What is the expected output? What do you see instead?
The sort order and filter applied to columns should be persisted if the 
data source is refreshed.

What version of the product are you using? On what operating system?
ReusableFx-20090901.zip

Please provide any additional information below.

Original issue reported on code.google.com by amitavas...@gmail.com on 10 May 2010 at 3:07

GoogleCodeExporter commented 8 years ago
I took the code from source here and that fixed both the Sort and Filter 
persistance 
when data is refreshed. Thank You.

But, I noticed a small thing.
I have taken all the code parts in current source section here. Now, when I 
click on 
filter the first row which says "All" or "Value Contains" became transparent, 
i.e. 
the column texts under the filter was jumbling the text. I made the 
backgroundcolor 
white and works for me.

Original comment by amitavas...@gmail.com on 10 May 2010 at 4:39