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

Couple of datagrid questions (non Flex)

Guest
Jan 02, 2013 Jan 02, 2013

Hi

If someone is able to offer advice, I'm wondering

a) can  a single cell be made invisble in a datagrid, as opposed to a whole column or whole row?

b) is the following datagrid set up is possible, or  should I do this using movieclips and not datagrids?

Here's what we start with- 'Main Rows':

1.jpg

Explanation: 

- the top row is the next book to read

- there is a "READ" button elsewhere on the screen, which , when clicked, removes the top row^, shuffling the rest up

- rows can be dragged to change postion

- if a row is deleted by clicking X, the rows below it shuffle up to take it's place*

- the Rating cell will contain a combobox or text field for entering data

- the author's name can be clicked to drop down 'Sub Rows' (all of the books that you'd like to read by that author)...

2.jpg

- the main rows below the one clicked on should drop down to make room for the sub rows

- the order to read is still 1. The Racketeer, 2. Harry Potter 1, 3. I Love Aeroplanes.  (and then 4. Dynamo)

- *if a main row contains more than one book in it's sub rows, deleting is simply moves that author's next book out of the sub row into the main row

- ^ if the main row contains more than one book in it's sub rows, clicking the abovementioned 'READ' button moves the top row to the bottom, and in this case, removes 'The Racketeer' and replaces it with 'Dynamo'

Thanks for your input.

TOPICS
ActionScript
567
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

correct answers 1 Correct answer

Community Expert , Jan 02, 2013 Jan 02, 2013

you can have empty cells in a datagrid but to make drag-and-drop look like you're in the process of dragging-and-dropping you'll need to use a movieclip or sprite anyway.  and if you're going to animate any of those changes you won't be able to use a datagrid.

Translate
Community Expert ,
Jan 02, 2013 Jan 02, 2013

you can have empty cells in a datagrid but to make drag-and-drop look like you're in the process of dragging-and-dropping you'll need to use a movieclip or sprite anyway.  and if you're going to animate any of those changes you won't be able to use a 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
Guest
Jan 02, 2013 Jan 02, 2013

Thanks kGlad - I'll start designing the movieclips.

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 ,
Jan 02, 2013 Jan 02, 2013
LATEST

you're welcome.

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