Skip to content

Handling Child Rows #4

@MuellerMatthew

Description

@MuellerMatthew

I have been playing around using child rows in datatables along with the row reorder, but currently the child rows are not fully supported when reordering rows, so I have begun to work on a fix.
In order to better support the reordering of rows with attached children the following needs to happen:

  1. When creating the floating 'clone' row we should check for children, and if there are children rows we should include them inside the 'clone'.
  2. The border which is drawn around both the clone, and the original row when it is changing rows in the table needs to be extended to include any and all child rows.
  3. When the original row is moved upward in the table the child row needs to move with it(currently the child row only moves downward in the table with its parent.
  4. After the user moves a row the table is redrawn which automatically closes all of the child rows. If a table has a child row there needs to be an event listener for the 'redraw' event which will reopen any child row which was automatically closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions