Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TIWjQDBGrid hide column
#1
How can I hide/show a column on a TIWjQDBGrid at runtime ?
Reply
#2
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;
Reply
#3
(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!!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)