How to trigger function on finish of all draws for datatable
How to trigger function on finish of all draws for datatable

I have a datatable with 2 pages. I have a function (functionToDisableCheckBox) which has to disable checkbox of few rows of table based on some condition. When i click on select all rows, the checkbox in page 2 is still enabled ( which supposed to be disabled), when i use the function with callback functions i.e fnDrawCallBack: functionToDisableCheckBox
I also tried using fnInitComplete which doesnt help.
My need is, i need to finish all draws for a datatable before calling a function. Is there any method that can be supported for this?