timeout

max time for ajax request in milliseconds

void timeout(number time);

Parameters

timenumbertimeout in milliseconds

Example

webix.ajax().timeout(3000).get("data.php");

Details

If connection is slow and data loading takes more time, the AJAX-call will stop and trigger an error callback.

Back to top