SMART datagrid v.1 > Classes > OperateOptions

Back  Forward

DataLudi.OperateOptions.sortingToast  property

The setting information Object which is displayed when doing column sorting. 

This setting object is created internally when initializing grid. 

If specify as string, the value will be set in message and visible will be set as true at the same time. If specify as Boolean value, visible will be set as true. When specify as Object, only the specified properties will be set. 

Defaults to .

Getter
function sortingToast(): Object
Setter
function setSortingToast(value: ToastOptions|Object)
Code -1
    grid.setOptions({
        operate: {
            sortingToast: {
                message: "Sorting...", 
                visible: true,
                styles: {
                    background: "#ffff00",
                    fontSize: 20
                }
            }
        }
    });
Code -2
    grid.setOperateOptions({
        sortingToast: {
            message: "Sorting...", 
            visible: true,
            styles: {
                background: "#ffff00",
                fontSize: 20
            }
        }
    });
Code -3
    grid.operateOptions().setSortingToast({ 
        message: "Sorting...", 
        visible: true,
        styles: {
            background: "#ffff00",
            fontSize: 20
        }
    });
    grid.orderBy([col1, col2], DataLudi.SortDirection.ASCENDING);
See Also
sortingEnabled
filteringToast
groupingToast
ToastOptions
Examples
Toast View
Column Sorting