2 Column Visibility buttons

2 Column Visibility buttons

az1az1 Posts: 14Questions: 7Answers: 1

Hi there

I would like toggle visibility of columns where the columns are in 2 groups.

  1. Is it possible to have 2 column visibility buttons, where each button has a separate set of columns to toggle visibility for
  2. Is it possible to name the column in the columns popup differently to the actual column displayed or have a different colour using css for individual columns in the columns popup? So if I had a column called "Name (Site)" in the popup, but the actual column heading was called "Name".

Answers

  • kthorngrenkthorngren Posts: 21,443Questions: 26Answers: 4,974

    See if this example does what you want.

    Kevin

  • az1az1 Posts: 14Questions: 7Answers: 1

    Hi, I did see that example. I am using the columns popup chooser and basically want to merge 2 lists into one list. So I need a way of toggling individual columns on and off. But I need to show which fields are site fields, and which are dataset fields. Can I use a css class on the column popup for each field? See attached example 1 image

  • allanallan Posts: 63,676Questions: 1Answers: 10,497 Site admin

    That's not something that Buttons can to at this time I'm afraid. You would need a custom control to do that which could call columns().visible() to set the visibility you need.

    Allan

Sign In or Register to comment.