Page 1 of 1
Column Visibility
Posted: Tue Aug 17, 2021 7:08 pm
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?
Re: Column Visibility (v2022)
Posted: Tue Aug 17, 2021 7:21 pm
by xxltomcat
maybe this is a feature request for field setup in project file:
- add a checkbox with functionality to freeze a column (prevent user to hide column)
- 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
Re: Column Visibility
Posted: Tue Aug 17, 2021 10:19 pm
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.
Re: Column Visibility
Posted: Wed Aug 18, 2021 2:41 am
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.
Re: Column Visibility
Posted: Sat Oct 15, 2022 6:32 am
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.