How to display a hidden column if filter data was found in it ?
How to display a hidden column if filter data was found in it ?

Good day!
I have a table in which some columns are hidden by default at the time of its creation. How can I display these columns when searching data was found in them?
This discussion has been closed.
Answers
Hi @Ragim ,
I can't think of a tidy way of doing this. The only thought that comes to mind is to create a
search
listener, then scan the data in the hidden columns to see if there's a match, and if so, make that column visible. Not ideal, but it should work.Cheers,
Colin
To take @colin's solution a bit further you could use
filter()
andcount()
in thesearch
event for the hidden columns. If the count is greater then 0 then display the column.Kevin
Thank you for your answers, I will definitely try, and I will write if I succeed.