Skip to main content
January 2, 2013
Answered

Couple of datagrid questions (non Flex)

  • January 2, 2013
  • 1 reply
  • 596 views

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':

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)...

- 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.

This topic has been closed for replies.
Correct answer kglad

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.

1 reply

kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
January 2, 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.

January 3, 2013

Thanks kGlad - I'll start designing the movieclips.

kglad
Community Expert
Community Expert
January 3, 2013

you're welcome.