Datatable row.child problem

Datatable row.child problem

JulioCeJulioCe Posts: 1Questions: 0Answers: 0

Hi, first of all I apologize for my English, I'm still learning. I have a table with dates, but some of these dates are repeat so i want to join all repeated dates in one row, for that pourpose i created a "fnDrawCallback" function that inserts a new row for every different date, its very similar to this https://datatables.net/examples/advanced_init/row_grouping.html , and for every repeated date i use $(rows).eq(i).hide(); in order to only show the new rows. I need to show more information for every new row, i tried this https://datatables.net/examples/api/row_details.html but it just work with the original rows not with the rows created with "fnDrawCallback".

Replies

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @JulioCe ,

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.