• Resolved maksimaks

    (@maksimaks)


    Dear Tobias,

    I use both of your plugins: row details and column sort in my table. But when I activate column sorting (“columnDefs”: [ { “type”: “date-eu”, “targets”: [ 2 ] } ]) child row details do not work. You can check it yourself.

    Thank you and best regards,
    Maks

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    This is caused by the Row Details also using a “Custom Command” internally. We will basically have to integrate that into your’s as well.

    Please remove your command from above again, so that I can extract the relevant code from the page.

    Regards,
    Tobias

    Thread Starter maksimaks

    (@maksimaks)

    Ready ??

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    great! So, the “Custom Command” that the Row Details Extension generates, looks like

    "columnDefs":[{"orderable":false,"targets":[0]},{"visible":false,"targets":[5,6,7,8,9,10,11,12,13,14]}]
    

    To merge that with your desired one, please set your “Custom Commands” to

    "columnDefs":[{"orderable":false,"targets":[0]},{"visible":false,"targets":[5,6,7,8,9,10,11,12,13,14]}, { "type": "date-eu", "targets": [ 2 ] } ]
    

    Regards,
    Tobias

    Thread Starter maksimaks

    (@maksimaks)

    Thank you very much!
    That works perfectly!

    Best regards,
    Maks

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    great! Thanks for the confirmation!

    Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Date Sorting and Row detail together’ is closed to new replies.