TIWjQDBGrid hide column

<< Click to Display Table of Contents >>

Navigation:  Forum >

TIWjQDBGrid hide column

Forum link

 


 

11-30-2021, 11:37 AM:

 

How can I hide/show a column on a TIWjQDBGrid at runtime ?

 


 

12-11-2021, 12:23 AM:

 

There are 2 overloaded methods to Show and Hide columns in all IWjQGrids. You can use the column name or the index:

 

procedure HideColumn(const ACol: Integer); overload;

 

procedure HideColumn(const AColName: string); overload;

 

procedure ShowColumn(const ACol: Integer); overload;

 

procedure ShowColumn(const AColName: string); overload;

 


 

12-13-2021, 10:39 AM:

 

(12-11-2021, 12:23 AM)Alexandre Machado Wrote: [ -> ]There are 2 overloaded methods to Show and Hide columns in all IWjQGrids. You can use the column name or the index:

 

    procedure HideColumn(const ACol: Integer); overload;

 

    procedure HideColumn(const AColName: string); overload;

 

    procedure ShowColumn(const ACol: Integer); overload;

 

    procedure ShowColumn(const AColName: string); overload;

 

Thanks, Alexandre!!!