Need to align the column and row size in Perspective table

I trying to align the column heading to align to row correctly, also need to know how to give the spacing between column?


kindly help me with simple issue

I trying to align the column heading to align to row correctly, ...

The best thing to do here is to replace the _ characters with spaces.

  • Easy way: Type them into columns.x.header.title for each column x.
  • Script way: read the headers, replace '_' with ' ' and script the columns.x.header.title.

... also need to know how to give the spacing between column?

Create a style class, paddingLR (left-right). Set
padding-left : 5px
padding-right : 5px

On each column select the paddingLR from the header styles dropdown.
columns.x.header.style.classes : paddingLR

1 Like

thank you. Will check it

Thank you for your valuable input. Actually I tired the same as you instruted. But none is changing . Kindly check.

For your info, table data is coming from a tag. Not able to resize the columns also even though I have enabled the resizable - True.

You need to fill the field property of each column. Without that the column configurations don't apply

Isn't there a "global" column style property ?

2 Likes

Yes, column.x.field must be defined.

I never found a global columns property and always set each column individually.

Sure thanks . I found the thing. Thank you