Displaying Load Mask based on Server Response
Even though Progress Indicators provide visual feedback to users, sometimes you might want to display those only when the server response time is longer. For example, displaying load mask when the data is not received from server within one second. You can achieve this using the following sample code snippet:
ct.env.options.loadMask.delayLoadMaskTimer = 1000; // unit is in milliseconds
The above sample code will display the load mask only when the server response is longer than one second, thereby shorter server calls (AJAX) will happen behind the scenes without a load mask.
Refer the following pages:
Â