NetTalk Central

Author Topic: Newline in Header  (Read 3478 times)

Ubaidullah

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Newline in Header
« on: October 02, 2011, 11:24:20 PM »
Hi,

I want to have a column's header in two rows in a NetWebBrowse. Like this:

Item Number    |  Stock    |
                       | Quantity |

I tried putting 'Stock<br/>Quantity' as the text for the header but the <br> tag is displayed in the header. I coded it as &lt;br&gt; too but still shows up as <br>.

So, how can I put a newline in column's header text?

Thanks & Regards,
Ubaidullah Nubar.

Jeffrey Kuijt

  • Full Member
  • ***
  • Posts: 142
    • View Profile
    • Email
Re: Newline in Header
« Reply #1 on: October 06, 2011, 09:50:37 PM »
Yep,

I also would like to know this.

Best regards
Jeffrey

Jeffrey Kuijt

  • Full Member
  • ***
  • Posts: 142
    • View Profile
    • Email
Re: Newline in Header
« Reply #2 on: October 07, 2011, 11:57:35 PM »
Hi

I would also like to set the alignment of the column HEADER, for example RightJustify.
This is also possible for the column cells, but not for the column header.

Bruce, is this possible?
I have a column header with the text "Amount".
The amounts are right justified in the column cells and it would be nice if the text "Amount" of the column header could also be justified right.

Best regards
Jeffrey

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Newline in Header
« Reply #3 on: October 09, 2011, 11:57:01 PM »
>> I want to have a column's header in two rows in a NetWebBrowse.

I've added an option to NT6 to allow you to include html in the header. However since the header is also used in the locator prompt, you may need to be somewhat creative to work-around that. (Specifically you will probably need to add embed code to remove the html from the prompt.)

>> This is also possible for the column cells, but not for the column header.

I've added a Css field for this in Nt6 as well.

cheers
Bruce

Jeffrey Kuijt

  • Full Member
  • ***
  • Posts: 142
    • View Profile
    • Email
Re: Newline in Header
« Reply #4 on: October 10, 2011, 12:01:17 AM »
Thanks a lot Bruce!

Best regards
Jeffrey