SMART datagrid v.1 > Concepts

Back  Forward

Concepts.Statement Overview

如同"${variable}",SMART datagrid明是一种可以在字符串内部包含由"${""}"括起的变量的表达式。 可用变量将会根据使用声明的环境而不同。 

目前,被用于headerStatement属性。 

Code -1
    grid.setRowGroup({
        headerStatement: '${groupField}: ${groupValue} - ${rowCount} rows'
    });
See Also
headerStatement
表达式概述
Examples
行分组