« Return to Thread: How to hide the row or column header of the FXTable?

Re: How to hide the row or column header of the FXTable?

by Jeroen van der Zijp :: Rate this Message:

Reply to Author | View in Thread

On Wednesday 17 June 2009, Feng Feng wrote:

> Hello Jeroen,
>
>
> > 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.
>
> If I turn on theTABLE_ROW_RENUMBER when I create FXTable, how does Fox know which column is used for displaying
> this auto-increased row number? Do I need to do extra work to let the first column of the table is used as the row ID?

The numbers always are placed in the row- and column header controls.  The cells
themselves are not affected by the renumbering.

Cell contents are assigned by the user editing them or filling them programmatically.

        - Jeroen




--
+----------------------------------------------------------------------------+
| Copyright (C) 22:40 06/17/2009 Jeroen van der Zijp.   All Rights Reserved. |
+----------------------------------------------------------------------------+

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Foxgui-users mailing list
Foxgui-users@...
https://lists.sourceforge.net/lists/listinfo/foxgui-users

 « Return to Thread: How to hide the row or column header of the FXTable?