StephenS Posted September 3, 2021 Report Share Posted September 3, 2021 Hi All I have a results report which is using three groupings, with a large number of subsequent fields. All works ok, but when I freeze the first three columns, the width seems to default to a small width and I can find no way of adjusting them. The usual width setings and those in the style seem only to impact the columns if they are not frozen, Can anyone assist in how you can set the frozen columns to a wider and fixed width thanks in advance Quote Link to comment Share on other sites More sharing options...
0 TellMeWhy Posted September 3, 2021 Report Share Posted September 3, 2021 4 minutes ago, StephenS said: Hi All I have a results report which is using three groupings, with a large number of subsequent fields. All works ok, but when I freeze the first three columns, the width seems to default to a small width and I can find no way of adjusting them. The usual width setings and those in the style seem only to impact the columns if they are not frozen, Can anyone assist in how you can set the frozen columns to a wider and fixed width thanks in advance What does yours look like? Mine adjusts accordinly... GoodBoy and StephenS 2 Quote Link to comment Share on other sites More sharing options...
0 StephenS Posted September 3, 2021 Author Report Share Posted September 3, 2021 When the columns are not frozen, the column widths are ok and have the correct width I have set up, and the text does not wrap in them. When I freeze these columns they all shrink to the same width, which looks to be some sort of default. the test in them wraps and I cannot then change their width Quote Link to comment Share on other sites More sharing options...
0 StephenS Posted September 15, 2021 Author Report Share Posted September 15, 2021 Hi Just nudgin this to see if there are any othersuggestions thanks Quote Link to comment Share on other sites More sharing options...
0 Kurumi Posted September 21, 2021 Report Share Posted September 21, 2021 Hi @StephenS - can you provide a sample URL of the report? Thanks! Quote Link to comment Share on other sites More sharing options...
0 cheonsa Posted February 25 Report Share Posted February 25 Hi All! I used the code provided here to adjust the width of the frozen columns. But instead of display:none, I replaced it with padding: 8px 70px. To avoid word-wrapping, you can use white-space:pre !important; <style> form[action*='[@cbAppKey]'] tr.cbResultSetDataRow td:nth-child(1), form[action*='[@cbAppKey]'] tr.cbResultSetTableHeader th:nth-child(1) { padding: 8px 70px !important; } form[action*='[@cbAppKey]'] tr.cbResultSetDataRow td:nth-child(2), form[action*='[@cbAppKey]'] tr.cbResultSetTableHeader th:nth-child(2) { white-space:pre !important; } </style> Hope this helps! Quote Link to comment Share on other sites More sharing options...
0 chumkirebzi Posted August 22 Report Share Posted August 22 Hi all! I followed @cheonsa's code in adjusting the width of frozen columns and it worked! Wanted to share some adjustments I made for another column since I have some long texts with truncate and expand/collapse button enabled. <style> form[action*='[@cbAppKey]'] tr.cbResultSetDataRow td:nth-child(1), form[action*='[@cbAppKey]'] tr.cbResultSetTableHeader th:nth-child(1) { padding: 9px !important; white-space:pre !important; } form[action*='[@cbAppKey]'] tr.cbResultSetDataRow td:nth-child(1) span:nth-child(2), form[action*='[@cbAppKey]'] tr.cbResultSetTableHeader th:nth-child(1) span:nth-child(2) { white-space:normal !important; } </style> I found that the truncated text was located in a different span (second span hence the (2)) and added white-space:normal !important; to contain all the text within the column Hope that helps! Quote Link to comment Share on other sites More sharing options...
Question
StephenS
Hi All
I have a results report which is using three groupings, with a large number of subsequent fields.
All works ok, but when I freeze the first three columns, the width seems to default to a small width and I can find no way of adjusting them.
The usual width setings and those in the style seem only to impact the columns if they are not frozen,
Can anyone assist in how you can set the frozen columns to a wider and fixed width
thanks in advance
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.