Re: Preserve 'selectedItems' after appling 'filterFunction'

2018-01-02 Thread Olaf Krueger
Thank you, guys! I will go the way to backup the selected items before filtering. Thanks, Olaf -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: Preserve 'selectedItems' after appling 'filterFunction'

2018-01-02 Thread GhaziTriki
Hello, I have implemented a similar feature for the DataGrid component. You can check it here https://github.com/bigbluebutton/bigbluebutton/blob/master/bigbluebutton-client/src/org/bigbluebutton/main/views/BBBDataGrid.as#L36 Thanks, Ghazi -- Sent from:

Re: Preserve 'selectedItems' after appling 'filterFunction'

2018-01-02 Thread Alex Harui
IIRC, you have to back it up and filter it. I'm not sure what will happen if one or more of the selectedItems is no longer in the filtered data provider. HTH, -Alex On 1/2/18, 8:44 AM, "Olaf Krueger" wrote: >Hi, >It seems to me that 'selectedItems' property of a s:List

Preserve 'selectedItems' after appling 'filterFunction'

2018-01-02 Thread Olaf Krueger
Hi, It seems to me that 'selectedItems' property of a s:List is always emtied after a filter is applied to its 'dataProvider' by using a custom 'filterFunction'. Is there a way to preserve the selectedItems? Or do I have to backup the 'selectedItems' manually in order to re-assign it after the