Skip to main content
Participating Frequently
August 29, 2013
Question

Need Quick Help: How to customize datagrid selection to only certain cells in AS3?

  • August 29, 2013
  • 1 reply
  • 674 views

Hi,

I want to select multiple cells. I see datagrid.selectedIndices[1,2,3] selects a number of rows. But is there a way to select multiple cells (not necessarily complete row/columns)? something like select cell [0,1] to cell[1,2] would select four cells??

Any pointers to help resolve this query would help.

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
August 29, 2013

selectedItems is the array of selected objects.

maulshreAuthor
Participating Frequently
August 29, 2013

can you help me as how to use this if i want to select few cells (eg. cell[1,1] & cell[2,2]) through code?

kglad
Community Expert
Community Expert
August 29, 2013

you'll probably need to use a custom cell renderer or the flex datagrid.