|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
How to hide the row or column header of the FXTable?Hello all, Q1> I want to know how to hide the row or column header of the FXTable. 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? Thank you ------------------------------------------------------------------------------ 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 |
|
|
Re: How to hide the row or column header of the FXTable?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 ------------------------------------------------------------------------------ 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 |
|
|
Re: How to hide the row or column header of the FXTable?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 the TABLE_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? Thank you -Daniel ------------------------------------------------------------------------------ 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 |
|
|
Re: How to hide the row or column header of the FXTable?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 |
| Free embeddable forum powered by Nabble | Forum Help |