Timing problem? when manipulating ColumnFilterWidgets-filters in fnInitComplete
Timing problem? when manipulating ColumnFilterWidgets-filters in fnInitComplete
mibaas
Posts: 19Questions: 0Answers: 0
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?
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?
This discussion has been closed.
Replies
Allan