+ Start a Discussion

How to get the columns for a list view selected for account?

Hi all,

I am building a custom vf page which has all the functinalities of a standard account list page.

Currently I am populating the account records in pageblock table based on the list view selected.

But I also want to filter the columns based on the list view. So that my table shows up dynamically.

How to get the selected fields for a particular list view. Is there any function or query?



Please help me out.Thanks in advance.