SMART datagrid v.1 > Classes > OperateOptions

Back  Forward

DataLudi.OperateOptions.groupingToast  property

The setting information Object which is displayed when doing row grouping. 

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 true.

Getter
function groupingToast(): ToastOptions
Setter
function setGroupingToast(value: ToastOptions|Object)
Code -1
    grid.setOptions({
        operate: {
            groupingToast: {
                visible: true,
                message: "Grouping...", 
                styles: {
                    background: "#ffff00",
                    fontSize: "20px"
                }
            }
        }
    });
Code -2
    grid.setOperateOptions({
        groupingToast: {
            visible: true,
            message: "Grouping...", 
            styles: {
                background: "#ffff00",
                fontSize: "20px"
            }
        }
    });
Code -3
    grid.operateOptions().setGroupingToast({ 
        visible: true,
        message: "Grouping...", 
        styles: {
            background: "#ffff00",
            fontSize: "20px"
        }
    });
See Also
groupingEnabled
sortingToast
filteringToast
ToastOptions
Examples
Row Grouping