Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Community Beginner ,
Aug 29, 2013 Aug 29, 2013

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.

TOPICS
ActionScript
648
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 29, 2013 Aug 29, 2013

selectedItems is the array of selected objects.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 29, 2013 Aug 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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 29, 2013 Aug 29, 2013
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines