- Bjarne Anker
- PowerBuilder
- Tuesday, 20 November 2018 07:24 PM UTC
Hi.
So, I have a freeform datawindow with several columns.
Our customers wants us to add functionality to show/hide certain columns and save the setup.
The saving part is easy, and the show/hide as well using dw_data.modify("col.visible='').
The datawindow has about 26-28 columns in total, and for now I've added the possibility to show/hide 8 of them.
But the big issue is how to move the remaining visible columns to fill all the gaps where the columns which are hidden used to be.
Is there an easy way to do this, perhaps in Powerscript, PFC or some other smart custom function?
Even better if it's rather generic and can be used on other datawindows in the future.
I know that grid layout is handling this automatically, but we dont want to use the grid layout for now.
Best regards,
Bjarne Anker
Maritech Systems AS
Molde - Norway
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.