You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Bill Turner (JIRA)" <ji...@apache.org> on 2016/11/08 00:47:58 UTC

[jira] [Comment Edited] (FLEX-34819) DataGrid with locked columns throws exception if dataProvider filter function shrinks values

    [ https://issues.apache.org/jira/browse/FLEX-34819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15645985#comment-15645985 ] 

Bill Turner edited comment on FLEX-34819 at 11/8/16 12:47 AM:
--------------------------------------------------------------

Example files - FlashBuilder 4.6 project and ZIP of source files

After building the app:
* Lock Col toggles locking/unlocking of the first column
* Filter will set the filter on the ArrayCollection data provider
* Change creates a new data provider with a subset of the data
* Reset gets back to ground zero.

Everything works OK for both Filter and Change if the column isn't locked.
If the column is locked, Change works, but Filter throws an "index out of bounds" error



was (Author: billt):
Example files - FlashBuilder 4.6 project and ZIP of source files

> DataGrid with locked columns throws exception if dataProvider filter function shrinks values
> --------------------------------------------------------------------------------------------
>
>                 Key: FLEX-34819
>                 URL: https://issues.apache.org/jira/browse/FLEX-34819
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: DataGrid
>    Affects Versions: Apache Flex 4.11.0, Apache Flex 4.12.0, Apache Flex 4.13.0
>         Environment: Windows 7 - from inspection, probably system independent
>            Reporter: Bill Turner
>              Labels: DataGrid, exception, lockedColumnCount
>         Attachments: LockedDataGridTest.fxp, LockedDataGridTest.zip
>
>
> A Spark DataGrid with locked column will throw an "Index out of bounds" exception if the ArrayCollection dataProvider's filter function reduces the number of elements displayed.
> The DataGrid correctly handles the change of source data if there are no locked columns, or if the dataProvider itself is changed to the new collection.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)