Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There could be several reasons for this error, but some common solutions are:

  1. Check if the datatable is initialized correctly and the required scripts are loaded before calling the draw method.

  2. Make sure that the oTable object is defined and points to the correct datatable object.

  3. Confirm that the datatable version is compatible with the version of the script calling the draw method.

  4. Try using the draw() function directly on the datatable object instead of the oTable object.

  5. Verify that there are no conflicting scripts or libraries that might interfere with the datatable.

  6. Consider updating the datatable plugin to the latest version, which might have bug fixes related to the draw function.