Gets the number of rows to be displayed.
If the height of the component has been explicitly set, this property might not have any effect.
For a DataGrid control, the rowCount property includes the header row. So, for a DataGrid control with 3 body rows and a header row, the rowCount property is 4.
The default value is 4.