This topic is locked

Getting the status of a show/hidden column in list table

4/7/2022 10:50:34 AM
PHPRunner General questions
R
rkgee author

In the list view I have the option selected so that the user can switch off/on the columns(fields) of their choice. At the foot of each column I have a code snippet that provides some data - and I don't want it to be displayed if the column is set to "not show".

Is there a if ("column is switched off/on") statement I can include in the JavaScript OnLoad Event that can deal with this?

Thanks

Sergey Kornilov admin 4/7/2022

We do not have an API for this task. Probably you can figure out something using jQuery, by checking if such a column/cell exist in the grid.