TTMSFNCDataGrid.RealToVisualRow Method
Converts a physical storage row index to the 0-based row index in the currently rendered output (sort + filter + hidden applied). Returns -1 when the row is filtered or hidden. Fixed rows map unchanged.
API unit family: TMSFNCDataGrid
Declaring type: TTMSFNCDataGrid
Inherited from: TTMSFNCCustomDataGrid
Syntax
function RealToVisualRow(ARow: Integer): Integer;
Remarks
Not to be confused with VisibleRowCount, which refers to the viewport (scroll-window) extent.
Parameters
| Name | Description |
|---|---|
ARow |
Physical storage row index. |
Returns
Visual (rendered) row index, or -1 if the row is not currently rendered.