Jump to content
  • 0

How can I get numbers to align to the right?


Stepford

Question

4 answers to this question

Recommended Posts

  • 0

Hello @Stepford,

You may select one of the two approaches:

1) Change the alignment in the Styles section. In this case, the changes will be applied to all DataPages that use this Style.

Please open the Source tab -> All -> find the cbResultSetTableCellNumberDate CSS class using Ctrl-F (or Command-F for Mac) -> change the text-align to right.

ouLain1.png

 

2) You may apply the changes to the particular DataPage without changing the Style.

To do this you may add Header/Footer elements on the Configure Results Page Fields page and paste the code to the Header.

Disable the HTML Editor on the Advanced tab before pasting the code.

<style>

.cbResultSetTableCellNumberDate {
text-align: right !important;
}

</style>

2YIm6VX.png

 

Please note that this CSS class (cbResultSetTableCellNumberDate ) have fields with the following data types in the table: Autonumber, Number, Integer, Currency, Date/Time, Timestamp, Formula (if stores numeric  values). 

Try the apply the changes and update this thread if you have further questions. 

Link to comment
Share on other sites

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
Answer this question...

×   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...