You need to sign in to do that
Don't have an account?
Mathew Andresen 5
collapse horizontal portion of table
Hi,
Is it possible to hide and unhide (make collasable) a horizontal portion of a table? For example say I had the following in a data table
time series data - forecast on time series data - percent growth on time series data
and I wanted to make it possible to hide an unhide sections.
Thanks,
Is it possible to hide and unhide (make collasable) a horizontal portion of a table? For example say I had the following in a data table
time series data - forecast on time series data - percent growth on time series data
and I wanted to make it possible to hide an unhide sections.
Thanks,
If you use rendered you could make a button that sets the Bool value to true and that would hide what is rendered in your table
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_column.htm
All Answers
On your VF page add columns:
use a commandbutton to toggle show more/less
in your Apex specify the variable for columnNo to the number of columns to show.
i.e.
If you use rendered you could make a button that sets the Bool value to true and that would hide what is rendered in your table
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_column.htm
I saw this post, but I don't think I understand how to use $component
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_best_practices_accessing_id.htm
Thanks, for the help.
and utilise javasript with a data toggle button peforming something like: