SMART datagrid v.1 > Classes > GridBase
DataLudi.GridBase.showProgress method
Display the progress bar.
function showProgress (title: String, modal: Boolean, canceler: Function);
- Returns
- Void
- Parameters
- title - String. Defaults to ""Load data"".
- modal - Boolean. Defaults to false.
If it is true, it will stop the user from clicking the mouse by displaying mask of matching the grid size. (ver 1.3.5)
- canceler - Function. Defaults to undefined.
Callback function which will be called when the user clicks
"Cancel" button.
function ();
If do not specify this callback, "Cancel" button will not be displayed.
If stop the operation in progress and return
true within this callback function, the window of progress bar will be closed.
Or, you should close the window by calling
closeProgress directly.
(ver 1.3.5)
Code -1
$('#showBar').click(funciton () {
grid.showProgress("Loading...", true, function () {
stopTask();
return true;
});
}
- See Also
- closeProgress
- setProgress
- Examples
- Progress Bar
- Async Excel Exporting