The almost abstract base class for grid tables.
A grid table is responsible for storing the grid data and, indirectly, grid
cell attributes. The data can be stored in the way most convenient for the
application but has to be provided in string form to grid.Grid
.
__init__ |
Default class constructor. |
GetAttr |
Return the attribute for the given cell. |
GetNumberCols |
Returns the number of columns in the table. |
GetNumberRows |
Returns the number of rows in the table. |
GetRawValue |
Returns the “raw” value for the cell content. |
GetValue |
Returns the cell content for the specified row and column. |
SetValue |
sets the cell content for the specified row and column. |
XLSTable
(gridlib.GridTableBase)¶The almost abstract base class for grid tables.
A grid table is responsible for storing the grid data and, indirectly, grid
cell attributes. The data can be stored in the way most convenient for the
application but has to be provided in string form to grid.Grid
.
__init__
(self, grid, cells, rows, cols)¶Default class constructor.
Parameters: |
|
---|
GetAttr
(self, row, col, kind)¶Return the attribute for the given cell.
Parameters: |
|
---|
GetNumberCols
(self)¶Returns the number of columns in the table.
GetNumberRows
(self)¶Returns the number of rows in the table.
GetRawValue
(self, row, col)¶Returns the “raw” value for the cell content.
Parameters: |
|
---|
GetValue
(self, row, col)¶Returns the cell content for the specified row and column.
Parameters: |
|
---|
SetValue
(self, row, col, value)¶sets the cell content for the specified row and column.
Parameters: |
|
---|