Can DataTables do this?

Can DataTables do this?

gib65gib65 Posts: 29Questions: 13Answers: 0

Hello,

We're looking for something like a property view (see attached image).

It needs the following features and capabilities:

  • Have at least two columns, the left side being an uneditable label, the right side being an editable value.
  • Have expandable/collapsable nodes.
  • Have unlimited sub-nodes under each node
  • Display repeatable values
  • Each row should be drag and droppable. So row #5 can be dragged to the position of row #3 and it becomes the third row.

Can DataTables be made to do this?

Answers

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin

    Not really I'm afraid. That's a tree table and DataTables doesn't have such a feature at the moment. There have been hacks in the past to do it, but it isn't something that is supported out of the box. There is the RowGrouping extension which will get you some of those features, but it doesn't yet support expand and collapse of the groups.

    Allan

This discussion has been closed.