SMART datagrid v.1 > Classes > GridBase

[ grids ver.1.3.6]   Back  Forward

DataLudi.GridBase.descendantRowCount  property

The number of all Grid Rows created in the grid. 

It also contains descendant rows of Group Row or Tree Row which is not displayed due to being scrolled or in collapsed state. And, it also contains group headers or footers. You can know the number excluding grid rows which are not connected to the row of data set such as group header or footer through descendantDataCount, and the number excluding hidden rows due to being collapsed parent row even though containing group header or footer through rowCount. In addition, you can know the number of rows being displayed in the current grid screen through displayRowCount or fullDisplayRowCount

If this number is changed, onDescendantRowCountChanged event will be fired. 

Getter
function descendantRowCount(): Integer
Setter
function setDescendantRowCount(value: Integer)
Code -1
    $('#descendantRowCount').click(function () {
        alert(grid.descendantRowCount());
    }
See Also
descendantDataCount
rowCount
displayRowCount
fullDisplayRowCount
onDescendantRowCountChanged
RowGroup.createFooterCallback
Examples
Row Counts
Tree Row Counts