Location:
GRDSTD.H
Link against: grid.lib
class MGridTable;
An interface that can be implemented to provide row and column information.
Note that for grids that have indefinite row boundaries, an implementation is mandatory.
A concrete implementation is passed to a CGridLay
object through its CGridLay::ConstructL()
functions or its CGridLay::SetGridTable()
function.
Defined in MGridTable
:
ColumnExtent()
, EDefaultColumnExtent
, EDefaultRowExtent
, RequestRow()
, RowExtent()
, anonymous
virtual IMPORT_C TBool RequestRow(TInt aRow, TInt &aReturnRow) const;
Translates a requested row.
Typically, the function is called by grid before it attempts a redraw in order to determine how many rows can be drawn. For example, if a request for row 16 were to be translated as row 11, then it would imply that there are only 11 rows in this rowset, and cause grid to draw accordingly.
An implementation must be provided for grids that have indefinite row boundaries.
The default implementation raises a panic.
|
|
|
virtual IMPORT_C TInt RowExtent() const;
Gets the number of rows in the grid.
|
virtual IMPORT_C TInt ColumnExtent() const;
Gets the number of columns in the grid.
|
n/a
|