Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
anoweb #1
DataGrid - update contents and maintain sort selection
I have a DataGrid whose 'dataProvider' is bound to an ArrayCollection. At some
points in time the ArrayCollection is replaced with a new set of data provided
to the application. This causes the DataGrid to be reloaded essentially, which
also causes the users sort selection to be reset. How can I keep the sort
selection when replacing the data?
anoweb Guest
-
Print contents of DataGrid
Hi, I want to print the contents of datagrid. I tried using printJob but it only prints what is displayed on the page. How can I print the whole... -
Crash with selection tool after 3.0.1 update
I am experiencing the same issue after updating to 3.0.1 - I have ssen the other post and tried disabling hardware graphics accelleration, which did... -
Print contents of a datagrid
Is there a way to push a print button to print the just the contents of a datagrid. I have the actionscript for the button, but it seems to print... -
Maintain check list status in datagrid with paging
Hi all, I need to maintain the status of checkbox in a datagrid that should not get affected when traversing through pages. The complete... -
Ado sort error-Ado Sort -Relate, Compute By, or Sort operations cannot be done on column(s) whose key length is unknown or exceeds 10 KB.
Ado Sort -Relate, Compute By, or Sort operations cannot be done on column(s) whose key length is unknown or exceeds 10 KB. hi, guys i have asp... -
javamonjoe #2
Re: DataGrid - update contents and maintain sortselection
There may be an easier way to do this, but I set a headerRelease handler on the
dataGrid and keep track of which column is being sorted. When it is time to
replace the dataProvider, it is possible to sort my dataProvider based on the
last user click of the header.
It's not elegant, but it works. With this method I'm able to store the user's
preferred sort between executions. (that would be application executions.
Not the user)
javamonjoe Guest



Reply With Quote

