Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Rafael Luna on Feb 21, 2008 11:39
open dhtmlx forum
Caption/Labels

How doI put Captions/laberls in my grid for each column?

I need multiline labels:

0-information 1
2- information 2
3- information 3

I tried
<cell title="1-information1 \n 2- Information2 ">value </cell>';
but it doesn't work.

Answer posted by Support on Feb 22, 2008 01:55
The grid uses native tooltips ( the title attributed maped to title attribute of result html tag ) - so they works exactly the same as titles in normal HTML.
The next will work in case of IE

    <row id="1">
        <cell title="1-information 1
2- information 2
3- information 3 ">-1500</cell>
Answer posted by Rafael Luna on Feb 24, 2008 17:06
Can I make it work in Mozilla Firefox?
Answer posted by Support on Feb 25, 2008 07:41
As far as I know - Firefox always show title as single line of text.