Triggering column-sizing on search

Triggering column-sizing on search

salpautisalpauti Posts: 7Questions: 5Answers: 0

I have a grouped Datatable for which I've painstakingly placed fields aligned to table content on the grouping rows. The alignment is accomplished in ".on( 'column-sizing.dt'" trigger. Performing a search on the table resizes columns but does not trigger the "column-sizing" event and the alignments are lost. Can I invoke the "column-sizing" event on search? I've attempted to trigger "column-sizing" from the ".on( 'search.dt'" event but am unable to pass the "settings" parameters used for the alignment.

Answers

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

    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.