NetTalk Central

Author Topic: Right Justify a cell/column in a browse  (Read 2899 times)

broche

  • Sr. Member
  • ****
  • Posts: 336
    • View Profile
    • Email
Right Justify a cell/column in a browse
« on: April 04, 2014, 09:21:04 AM »
Clarion 9.0
NT 8

Trying to right justify a column in a browse but getting confused as to what to set.
I have tried all sorts of settings like ' nt-right' in customer etc.
This is also an EIP column.

Thanks
Brian

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Right Justify a cell/column in a browse
« Reply #1 on: April 07, 2014, 12:44:29 AM »
Hi Brian,

The settings on the CSS tab for the column (Right Justify) apply to the contents of the column, but they don't cascade "into" the contents themselves.

so in the case of an EIP field, the right-justify will make the Entry field right-justified in the table cell (ie in the column itself) but the _contents_ of the entry field are not right justified.

To right-justify the contents of an entry field, add the class RightJustify to the CSS Class setting on the _Edit_ tab. For example, on the Name column in Example 3 this becomes;
'BrowseEntry RightJustify'

cheers
Bruce


broche

  • Sr. Member
  • ****
  • Posts: 336
    • View Profile
    • Email
Re: Right Justify a cell/column in a browse
« Reply #2 on: April 07, 2014, 09:26:05 AM »
Thanks Bruce, I understand it better now and column looks great.
Hope you had a nice break :)
Brian