Is it possible to filter columns as one filters rows?

Is it possible to filter columns as one filters rows?

John9999John9999 Posts: 2Questions: 1Answers: 0

Let's say I have columns Aa, Ab,& Ba and want hide column Ba. So I search for columns that start with A.

Is this possible from the client side?

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 20,302Questions: 26Answers: 4,769
    Answer ✓

    You can use column().visible() to show or hide columns based on your condition.

    So I search for columns that start with A.

    Are you wanting to search the column header names? You can use columns().header().

    Kevin

  • John9999John9999 Posts: 2Questions: 1Answers: 0

    Thanks kthorngren. I was thinking there might be an easier way, but can do it in this way.

This discussion has been closed.