If I were to add in multi-selection, I think you need a dataProvider that can hold the array of selections (ArraySelectionModel holds only a single selected index) and add some new events maybe. The itemRenderer code should not care about the number of selections, its really an issue for the model.
‹peter On 12/15/16, 12:39 AM, "Santanu Karar (JIRA)" <j...@apache.org> wrote: > > [ >https://issues.apache.org/jira/browse/FLEX-35212?page=com.atlassian.jira.p >lugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15750451#com >ment-15750451 ] > >Santanu Karar commented on FLEX-35212: >-------------------------------------- > >Hello Peter. Thank you for this new feature, I surely test this very soon >from nightly build. > >Regarding selecting multiple rows, custom bead extending which bead or >adding a new bead you're referring to? > >> [FlexJS] DataGrid requires a way to select it's row(s) automatically >> -------------------------------------------------------------------- >> >> Key: FLEX-35212 >> URL: https://issues.apache.org/jira/browse/FLEX-35212 >> Project: Apache Flex >> Issue Type: Improvement >> Affects Versions: Apache FlexJS 0.8.0 >> Reporter: Santanu Karar >> Assignee: Peter Ent >> Fix For: Apache FlexJS 0.8.0 >> >> >> At present {{DataGrid.selectedIndex}} is a read-only property. We >>probably need a way to select one or multiple rows at runtime to >>DataGrid. > > > >-- >This message was sent by Atlassian JIRA >(v6.3.4#6332)