NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Ubaidullah on October 02, 2011, 11:24:20 PM

Title: Newline in Header
Post by: Ubaidullah 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.
Title: Re: Newline in Header
Post by: Jeffrey Kuijt on October 06, 2011, 09:50:37 PM
Yep,

I also would like to know this.

Best regards
Jeffrey
Title: Re: Newline in Header
Post by: Jeffrey Kuijt 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
Title: Re: Newline in Header
Post by: Bruce 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
Title: Re: Newline in Header
Post by: Jeffrey Kuijt on October 10, 2011, 12:01:17 AM
Thanks a lot Bruce!

Best regards
Jeffrey