Column Visibility

Post Reply
xxltomcat
User
Posts: 107

Column Visibility

Post by xxltomcat »

Hi,

since v2022 has introduced "Column Visibility" I was wondering whether there is a way to lock certain columns (prevent hiding) and hide columns by default?

If we hide a certain column is this information stored in the session or permanently in the user profile?


xxltomcat
User
Posts: 107

Post by xxltomcat »

maybe this is a feature request for field setup in project file:

  1. add a checkbox with functionality to freeze a column (prevent user to hide column)
  2. add a checkbox with functionality to hide a column by default

I think this would be a useful feature like enabling/disabling fields for i.e. Quick Search


mobhar
User
Posts: 11660

Post by mobhar »

xxltomcat wrote:

If we hide a certain column is this information stored in the session or permanently in the user profile?

It seems the information is stored in local storage of browser. So, it is not stored in session or not permanently in the user profile.


xxltomcat
User
Posts: 107

Post by xxltomcat »

Hi, thanks for you answer. Therefore I think it is also useful that the column visibility would be stored in userprofile so the user could configure it permanenty like user defined filters.


Creabis
User
Posts: 22

Post by Creabis »

Just use JQuery to check only the fields which should be visible, in the tables 'List Page - Client Script' simply put:

$(document).ready(
    function () {
        $("[data-field='FieldA']").click();
        $("[data-field='FieldB']").click();
        $("[data-field='FieldC']").click();
    }
);

The rest of the columns will be unchecked.


Post Reply