cancel
Showing results for 
Search instead for 
Did you mean: 

How to control display of table columns as table configuration

Former Member
0 Kudos

Hi,

I have table with large numbe rof columns; so need to provide an UI element in table toolbar which will enable user to select the columns need to display, Is there such control already exist;

however I can use the ToolBarButtonChoice for the same as a workaround.

Rgds,

Atul.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

You can do it by accessing the table class properties. Please refer table class to solve your problem.

Best Regards

Ravi

sanyev
Active Participant
0 Kudos

Hi Atul,

You can have a configure button on the toolbar and upon clicking the button a popup window should open with a list of all the available columns and a list of visible columns and buttons to add and remove columns.

A ready made solution is not available. If personalization of table is available in your version then this functionality is already provided as part of personalization.

If personalization of table is not available you will have to use portal personalization API's to store the users choice so that every time the user need not select the required columns.

Regards,

Sanyev

former_member185086
Active Contributor
0 Kudos

Hi

Too many ways to do this

1. If u seen the Guided procedure gallery ,here they filter the object using check box,

We can use the same for but if number of column if more than 15 then it look odd.

2. By using Dropdown at Toolbar which contain set of Table column name (Defined in SimpleType)

1. By default say 5 column will be visible latter based on the dropdown selection column will come

2. or Put too button at toolbar only (after dropdown ) say add column and remove column

here u can perform the task

(common for both)

3. Define all the column at DesignTime and use VISIBILITY.NONE attribute during selection or add action u can set it to VISIBILITY.VISIBLE

Let See

Best Regards

Satish Kumar