Skip to main content
Solved

Column width in entity overview screen


Albert de Ruiter
Star Blazer L2
Forum|alt.badge.img+4

Dear community,

In the overview screen of an entity, like the business terms screen, each column has some predefined width. Some of the term names are long and are cut off because the column is too small.

Is there a way to define the width of a column yourself?

Thanks and kind regards!

Albert

Best answer by Cansu

Hi @Albert de Ruiter I see that youโ€™ve reached out to our Support team so Iโ€™m closing off this question. Please donโ€™t hesitate to create another post, or reply here with any additional thoughts later ๐Ÿ™‹โ€โ™€๏ธ

View original
Did this topic help you find an answer to your question?

8 replies

Forum|alt.badge.img+2
  • Universe Traveller
  • 13 replies
  • December 11, 2023

Hello Albert,

Here are the steps to change this:

  1. Navigate to the page where you want to make the changes and click on the 3 dots in top right hand corner โ†’ and select edit page โ†’ select the โ€œLayoutโ€ tab which shows JSON code for the page.
  2. You need to add a โ€œsizeโ€ line of code to the template. However, depending on what page and column you are trying to edit it will differ on where to add this line of code. For example in the screenshot below, I have used the Catalog Items page and in the JSON code it shows for the โ€œTermsโ€ column, a size of 160px has been added which can be increased to increase the width of the โ€œTermsโ€ column in the table.

 

I hope this helps!


Albert de Ruiter
Star Blazer L2
Forum|alt.badge.img+4

Hi Rianne,

Thanks for your tip. I have tried this for a custom entity, where the overview screen shows a couple property columns, like this

{

  "_type": "entity.page.listing",

  "children": {

    "_type": "entity.listing.v2",

    "splitIndex": 6,

    "renderers": {

      "_default": {

        "columns": {

          "product": {},

          "productDataSetName": {

            "name": "Product data set"

          },

          "name": {

            "name": "Product data field"

          },

          "attributeTerm": {},

          "attributeTermBusinessDefinition": {

            "name": "Attribute definition",

            "size": "3000px"

          }

        }

      }

    }

  }

}

The last column shows the definition of a term, but is cut off at 57 characters. So of this column I want to show more details. But adding the size as above does not increase the width of the column. In your comment you mention that it depends on the type of page where the size should be defined. Should I define the size in a different manner perhaps for this type of page?

Thanks and kind regards,

Albert


Forum|alt.badge.img+2
  • Universe Traveller
  • 13 replies
  • December 11, 2023

Hi Albert, 

I havenโ€™t had much experience with custom entities but I canโ€™t see why in your code the size wouldnโ€™t work โ˜น๏ธ 

I have tried on my side, amending the size from 160px to 3000px and can see that the column width has greatly increased so I am not sure why this would not work within a custom entity. 

This might be where an Ataccama expert may need to advise as it looks correct to me where you have added the โ€œsizeโ€ line of code.

Sorry I couldnโ€™t get this resolved for you ๐Ÿ˜”


Albert de Ruiter
Star Blazer L2
Forum|alt.badge.img+4

Hi Rianna,

No need to apologize of course, as I am glad that you took the time to help me! Like you suggest, it is probably best that I create a service request at Ataccama support.

Kind regards,

Albert


Cansu
Community Manager
Forum|alt.badge.img+3
  • Community Manager
  • 521 replies
  • Answer
  • January 2, 2024

Hi @Albert de Ruiter I see that youโ€™ve reached out to our Support team so Iโ€™m closing off this question. Please donโ€™t hesitate to create another post, or reply here with any additional thoughts later ๐Ÿ™‹โ€โ™€๏ธ


Forum|alt.badge.img+3
  • Space Explorer
  • 1 reply
  • February 8, 2024

Hello,

โ€œThe last column shows the definition of a term, but is cut off at 57 characters. So of this column I want to show more details. But adding the size as above does not increase the width of the column. In your comment you mention that it depends on the type of page where the size should be defined. Should I define the size in a different manner perhaps for this type of page?โ€

Could I ask you if youโ€™ve worked this one out? I am having the exact same problem right now.

Thank you in advance!

Kind regards,

Jakub


Albert de Ruiter
Star Blazer L2
Forum|alt.badge.img+4

Hi all,

I have received an update and conclusion from Ataccama Support (the call has been closed last week). It boils down to this.

By using the size property indeed the size should be adjusted. For lower versions though there appears to be a bug. We are on 13.9.4. Support has tested the size property on versions 14.2.0 and higher and confirmed that with those versions the size property works as expected. 

As an ugrade is on our radar this year and our particular case is not too critical I have not requested a custom fix.

@JakubHirs I have kind of missed your question, otherwise I would have answered you sooner.

Kind regards,

Albert


Cansu
Community Manager
Forum|alt.badge.img+3
  • Community Manager
  • 521 replies
  • April 2, 2024

Thank you for sharing an update here @Albert de Ruiter ๐Ÿ™Œ


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings