#include <hk_dsgrid.h>
Inheritance diagram for hk_dsgrid:
Public Member Functions | |
hk_dsgrid (hk_form *form=NULL) | |
virtual | ~hk_dsgrid (void) |
hk_dsgridcolumn * | gridcolumn (unsigned int c) |
unsigned int | columnscount (void) |
void | set_gridcolumnwidth (unsigned int col, int newwidth) |
void | change_columnposition (unsigned int from, unsigned int to) |
void | set_gridcolumns (vector< hk_dsgridcolumn > &c, bool registerchange=true) |
void | set_gridcolumns (list< hk_string > &sl) |
void | clear_gridcolumn (void) |
void | set_hold_rowdefinition (bool h=true) |
void | set_enablingbehaviour (bool add_col, bool del_col) |
virtual void | savedata (ostream &s, bool saveall) |
virtual void | savedata (ostream &s) |
virtual void | loaddata (const hk_string &definition) |
virtual void | set_datasource (hk_datasource *) |
list< hk_string > * | visible_columns (void) |
list< hk_string > * | nonvisible_columns (void) |
bool | save_table (const hk_string &s="", bool ask=true) |
bool | load_table (void) |
bool | save_view (const hk_string &s="", bool ask=true) |
bool | load_view (void) |
void | set_rowheight (int, bool registerchange=true) |
int | rowheight (void) |
Protected Member Functions | |
bool | datasource_enable (void) |
bool | datasource_disable (void) |
bool | columns_new_created (void) |
virtual void | before_store_changed_data (void) |
virtual bool | table_structure_changes (void) |
virtual void | widget_specific_columns_created (void) |
virtual void | widget_specific_rowheight_changes (void) |
Friends | |
class | hk_dsgridcolumn |
|
|
|
|
|
Reimplemented from hk_dsvisible. |
|
it's possible to change the order of the columns
|
|
|
|
Reimplemented from hk_dsvisible. |
|
returns the number of columns shown in the grid. |
|
FOR WIDGET DEVELOPERS ONLY: will be automatically called when the datasources is disabling Reimplemented from hk_dsvisible. |
|
FOR WIDGET DEVELOPERS ONLY: will be automatically called when the datasources is enabling Reimplemented from hk_dsvisible. |
|
returns a specific gridcolumn
|
|
|
|
|
|
loads the object's values out of the definition string. Especially used to load queries, forms and reports Reimplemented from hk_dsvisible. |
|
|
|
|
|
|
|
|
|
stores the object's values to stream s. Especially used to store queries, forms and reports Reimplemented from hk_dsvisible. |
|
|
|
Reimplemented from hk_dsvisible. Reimplemented in hk_kdegrid. |
|
if set_hold_rowdefinition is true, this function defines what exactly to do during enabling
|
|
you can manually set the gridcolumn definition.The new defintion of the gridcolumns, all columns get default values.
|
|
you can manually set the gridcolumn definition.
|
|
sets the new width of a specific column.
|
|
If true and you change the row definitions (i.e. column size) after disabling and reenabling your definitions still exist, if false the rows will be newly built. Default is true.
|
|
|
|
FOR WIDGET DEVELOPERS ONLY: will be automatically called after the columnstructure of a table was successfully altered. Reimplemented from hk_dsvisible. |
|
|
|
Reimplemented in hk_kdegrid. |
|
Reimplemented in hk_kdegrid. |
|
|