SMART datagrid v.1 > Classes > GridBase
创建在网格中的所有网格行的数量。
包含因为被卷起而未被显示或折叠状态的组行或树行的子孙行。 而且,也会包含组页眉或页脚。 可以通过descendantDataCount,得知排除如组页眉或页脚等没有连接在数据组行的网格行的数量, 并且可以通过rowCount,得知排除虽然包含组页眉或页脚等,但因为父行被卷起而隐藏的行的数量。 另外,可以通过displayRowCount或fullDisplayRowCount,得知目前显示在网格画面上的行数。
如果这个数量发生变更,就会触发onDescendantRowCountChanged事件。
$('#descendantRowCount').click(function () {
alert(grid.descendantRowCount());
}