Link to home
Create AccountLog in
Avatar of Jay Roy
Jay RoyFlag for United States of America

asked on

put text in richtexteditor in next line

hi guys

i have my richtext editor like this
<mx:RichTextEditor id="projectObj" width="1050"    title="Project "
                                             text="{Provide a brief description of the project}{modelviewdata.projectDetaildto.projectObjective}"                           maxHeight="261" creationComplete="expcoll(event)"                           toolTip="Provide a brief description of the project"/>      

In my text i am showing some data 'Provide a brief description of the project' and i have the answer in{modelviewdata.projectDetaildto.projectObjective}
can i put {modelviewdata.projectDetaildto.projectObjective}  in the next line instead of same line?
      

thanks
Avatar of dgofman
dgofman
Flag of United States of America image

try to udr htmlText

htmlText="{Provide a brief description of the project}<BR/>{modelviewdata.projectDetaildto.projectObjective}"  
ASKER CERTIFIED SOLUTION
Avatar of dgofman
dgofman
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Jay Roy

ASKER

thanks , i want italics too
htmlText="<i>{'Provide a brief description of the project'}</i><BR/>{modelviewdata.projectDetaildto.projectObjective}"

shows error.

any idea
thax
Avatar of Jay Roy

ASKER

actually when i use just the <BR/> like you said
  htmlText="{'Provide a brief description of the project'}<BR/>{modelviewdata.projectDetaildto.projectObjective}"
                                          

i get an error : value of htmltext must not contain <
Avatar of Jay Roy

ASKER

any help plz, its little urgent.
thanks.