Is there a way to set default number of columns
Is there a way to set default number of columns

Hi, Just like we are able to set the numbers of rows to 10, 25 and so on. Is there a way to set the default number of columns. so when the page first loads only first 10 columns show then the user will either show all or select the categories of columns they want to show, i already have the "colvis" btn and "show all" and "columns categories" set. i just can't figure out if this feature available. thank you..
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @EndLessQs ,
Not a default way, but you can set each column's visibility at initialisation with
columns.visible
, or later, withcolumn().visible()
,Cheers,
Colin