Inserted type rows in table

Inserted type rows in table

mimicmimic Posts: 43Questions: 0Answers: 0
edited March 2009 in General
I do not know how I would describe this. But in one of my current tables (not yet under dataTables power) I have split the table into few parts, each with one special row at the top of each part which names that part. Something like:

/--------------------\
| ColA | ColB | ColC |
----------------------
| First part |
----------------------
| Data | Data | Data |
----------------------
| Data | Data | Data |
----------------------
| Second part |
----------------------
| Data | Data | Data |
----------------------

All parts have the same columns defined. And I would like to add dataTables sorting and filtering to this table. Which should work on each part separately. So sorting by ColA should sort data in the first part independently from data in the second part. And of course those part title rows should stay there. And should not be sorted or filtered on.

Is this possible?

Replies

  • allanallan Posts: 63,643Questions: 1Answers: 10,492 Site admin
    This isn't possible with DataTables at the moment I'm afraid. The filtering is very much on a per row basis. There is already a discussion about this topic with a few ideas, and many questions! http://datatables.net/forums/comments.php?DiscussionID=14&page=1

    Please feel free to add any insight that you might have.

    Allan
This discussion has been closed.