SMART datagrid v.1 > Classes > GridBase

Back  Forward

DataLudi.GridBase.hideToast  method

Close toast view which is displayed now. 

If callback function is specified in parameter callback, this callback function will run just after closing toast view. 

function hideToast (callback: Function);
Returns
Void
Parameters
callback - Function. Defaults to null.
Code -1
    grdMain.showToast('Load data...');
	$.ajax({
		url: "data.csv",
		success: function (data) {
		},
		error: function (xhr, status, error) {
		},
		complete: function () {
		    grdMain.hideToast();
		}
	});
See Also
showToast
Examples
Toast View