tmssoftware.com
TMS Support Center
How to show/hide a grid column on the fly
FMX
TMS FMX UI Pack
DA_CUNHA_MARCO_A
(José Carlos Da Cunha Jr)
July 24, 2018, 12:54am
1
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
Pieter
(Pieter)
July 24, 2018, 7:59am
2
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.
DA_CUNHA_MARCO_A
(José Carlos Da Cunha Jr)
August 4, 2018, 7:49pm
3
It is working fine adding the columns, on the form create.
Thanks for your help.
Jos? Carlos.
Related topics
Topic
Replies
Views
Activity
TTMSFMXGrid Column Hide
TMS FMX UI Pack
1
376
November 8, 2013
grid and columns configuration
TMS FMX UI Pack
1
300
March 17, 2015
TTMSfmxlivegrid column editing
TMS FMX UI Pack
2
336
February 10, 2017
How do I create a TTMSFMXGrid hidden column?
TMS FMX UI Pack
4
392
August 1, 2017
Using TTMSFMXLiveGrid
TMS FMX UI Pack
1
565
March 4, 2020
© tmssoftware.com