SMART datagrid v1.4 > Classes

Back  Forward

DataLudi.ToastOptions  class

Toast view를 표시하는 데 사용되는 설정 집합. 

OperateOptions.sortingToast 속성 등에서 토스트 설정 정보로 사용된다. 또, GridBase.showToast 호출 시 전달된다. 

Base Classes
DLBase
Constructor
function ToastOptions (options: Object|String|Boolean);
Properties
duration
message
styleName
styles
visible
Inherited Methods
DLBase.assign
DLBase.getProperties
DLBase.getProperty
DLBase.setProperties
DLBase.setProperty
DLBase.toggle

 

Code -1
    grdMain.showToast({
        message: 'Load data...',
        styleName: 'toastView',
    });;
	$.ajax({
		url: "/repo/grid/resource/data/orders_m.csv",
		success: function (data) {
		},
		error: function (xhr, status, error) {
		},
		complete: function () {
		    grdMain.hideToast();
		}
	});
See Also
sortingToast
filteringToast
groupingToast
GridBase.showToast
GridBase.hideToast
Examples
Toast View