Portal Views - Custom Columns Widths
Hello,
Looking to see if there is any custom way of setting the column widths to show properly in the portal. As of the moment, each user has to manually expand the columns for it to remember their choices, but I would like to globally set it.I have tried setting the 'width' option in the console and hoped it would transfer to the portal, but it did not.
Also, if the above is possible, is there a way to set custom widths per 'view' created?
Current showings:
----
What I am aiming for:
Thank you in advanced.
Answers
@Mike_Branco - I put this little bit of custom code together. I recommend using loadScript and targeting only the URL of the page with the grid you want to set width on. If you look at the first couple of lines, you can see I'm setting Title and Status on a work item grid to 500 and 300 pixels respectively. You can change the field names and widths to fit your needs. You can also include additional fields, but make sure to format those entries the same with with name and size.