Timing problem? when manipulating ColumnFilterWidgets-filters in fnInitComplete

Timing problem? when manipulating ColumnFilterWidgets-filters in fnInitComplete

mibaasmibaas Posts: 19Questions: 0Answers: 0
edited January 2014 in TableTools
I have written a bit of JS that reads default-selections for CFW-Filters from the URL and sets the dropdowns accordingly. Unfortunately it does not work! :((

Well, it works when I launch that function through the JS-Console, but it has no effect when launching it in $(document).ready or alternatively using "fnInitComplete". So I assume there is a timing issue - even though "fnInitComplete" or "fnDrawCallback" suggests that everything is done. Are there any events I might use that are fired even later? Or could it have a different reason?

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    fnInitComplete is the correct function. Please link to a test case showing the problem.

    Allan
  • mibaasmibaas Posts: 19Questions: 0Answers: 0
    edited January 2014
    Thanks for confirming. I will try to build & post a small repro - unfortunately the full thing is behind firewall etc...
This discussion has been closed.