initComplete initialisation multiple time

initComplete initialisation multiple time

dkbossdkboss Posts: 2Questions: 1Answers: 0
edited November 2020 in Free community support

In my Datatable, I have added a custom Date range filter and two buttons one for Filter and the second for clear filter, and also
set default data table column with filter dropdown. so my question is,
1. when filter data then initComplete again initialize and column filter dropdown display 2 and so on.
2. same problem for the clear button click it, again and again, column filter dropdown generated.

Answers

  • dkbossdkboss Posts: 2Questions: 1Answers: 0

  • LapointeLapointe Posts: 430Questions: 81Answers: 4

    Hi
    Perhaps try to use searchBuilder with preset ?
    Explanations here

  • colincolin Posts: 15,143Questions: 1Answers: 2,586

    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.