Hide columns in views with javascript
Best Answer
-
Geoff_Ross Cireson Consultant O.G.Hi @Thomas_Stromberg
This one looks like its gone a bit cold so I thought I'd have a look for you.
Its not a super elegant solution but you can collapse a column to 0px width with some CSS.#c322e552-d725-4822-8ca6-7235b4ae073c > table > colgroup > col:nth-child(8) {
You'll need to change the GUID to the GUID of the grid in question and the column number nth-child(x)
width: 0px !important;
}
This example hides created date on My Requests.
See if that can work for you?
Geoff6
Answers
Just click on one of the headings in the grid view and select Choose Columns. You will then be able to select, or deselect the columns you wish.
This view setup is then held for the user within the database and will show up no matter what system they log on to.
Is this what you were looking for?
Let me confirm this and post the answer here.
Views are stored in the browser cache.
I'll keep trying to dig up where the default views are stored and how they can be modified.
This one looks like its gone a bit cold so I thought I'd have a look for you.
Its not a super elegant solution but you can collapse a column to 0px width with some CSS.
You'll need to change the GUID to the GUID of the grid in question and the column number nth-child(x)
This example hides created date on My Requests.
See if that can work for you?
Geoff
The value for nth child is just the column number.
What grid and which column are you trying to hide, I'll check the numbers for you.
Geoff