How to show/hide a grid column on the fly


  I am using TMSFMXLiveGrid and it is linked to a dataset via LinkGridToDataSourceBindSourceDB

The grid is working fine.

  But, Some users will not use all columns. 
  So I will need a way to show or hide some grid columns  on the form create. Is there a way to do that ?

  Thanks

Hi,


This can be done by Using the LinkGridToDataSource component that is linked under the LiveBindings section of TTMSFMXLiveGrid. This way, you can add the columns you want that will be visible in the grid. By default, all columns are added.

  It is working fine adding the columns, on the form create.

Thanks for your help.

Jos? Carlos.