On Wednesday 17 June 2009, Feng Feng wrote:
> Hello all,
>
> Q1> I want to know how to hide the row or column header of the FXTable.
It ought to be possible to set the setRowHeaderMode() in LAYOUT_FIX_WIDTH
mode. In that mode, the row width is what you set it in setRowHeaderWidth().
Setting to zero is allowed...
> Q2> The table I created has the first column with auto-increasing numbre 01,02,03...
> How can I make use of columnRenumbering to implement this feature?
This is controlled by TABLE_COL_RENUMBER and TABLE_ROW_RENUMBER options, which can
be individually turned on.
To account for the fact that your may want to label columns in different ways than
numerically (e.g. A, B, C, ....) you can overload the updateColumnNumbers() and
updateRowNumbers() in your subclassed table widget.
Hope this helps,
- Jeroen
|