Jump to content

Adjust column width


Recommended Posts

Hello @Kuroshi,

If the width of the Tabular report exceeds the width of the screen, if you try to adjust the width of any fields inside the DataPage itself, it will not be possible. But I have found a solution that you can use. Please use the CSS code below:
 

table[data-cb-name^="cbTable"] tbody tr.cbResultSetTableHeader th:nth-child(5)
{
padding: 1px 120px !important;
}

You can change the number inside the nth-child(5) based on the position of the field.

 

I hope this works. 

Link to comment
Share on other sites

  • 1 year later...
  • 9 months later...
On 6/23/2021 at 11:34 PM, Barbie said:

Hello @Kuroshi,

If the width of the Tabular report exceeds the width of the screen, if you try to adjust the width of any fields inside the DataPage itself, it will not be possible. But I have found a solution that you can use. Please use the CSS code below:
 

table[data-cb-name^="cbTable"] tbody tr.cbResultSetTableHeader th:nth-child(5)
{
padding: 1px 120px !important;
}

You can change the number inside the nth-child(5) based on the position of the field.

 

I hope this works. 

 In addition to this, if the sticky header is enabled in your Tabular Report, you also need to add this code:

table[id*='FreezeTabularHeaderObj'] > tr > th:nth-child(5) {
    padding: 1px 120px !important;
}

 

Link to comment
Share on other sites

  • 3 months later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...