C4 Engine
C4 Engine API Documentation

TableWidget::SetDisplayRow

Defined in:  C4Widgets.h
Scrolls a table widget so that a specific row is displayed at the top.
Prototype

void SetDisplayRow(int32 row);

Parameters
row The row that should become the first displayed.
Description
The SetDisplayRow function scrolls a table widget so that the row having the zero-baed index specified by the row parameter becomes the first row displayed at the top of the table. This function makes the best attempt to place this row at the top of the display area, but the index is clamped to the range of values allowed by the overall number of rows in the table.
See Also

TableWidget::RevealTableItem

TableWidget::GetTableItemCount