PDA

View Full Version : Customized displayField/Label



asahoo
14 Oct 2014, 1:40 AM
Hi ,

i have the following requirement.
a.There will be 2 values (Questionsand answers ) in a container
b.The allignment should be like this

What is the important
feature that sencha supports
across multiple browsers ? - ---Cross browser compatibility


Where the left side will have a question(can be multiline ) and the right side is the answe (Can be multiline )

Note:cross browser compatibility is the answer

c. if both are multline then there is no issue of displaying them through a display field.

d. if the question is multline and the answer is relatively short (like in the above example) then the answer section should start on the line where the question (?)mark ends.So how to handle this ?

e.If there is single question section i can tweak CSS and did the the required , but the questions are pretty dynamic and there will be multiple question sections on a page .

So any suggestions on this is highly appreciable .

scottmartin
14 Oct 2014, 10:51 AM
It is a little difficult to fully understand what you are looking for, but perhaps this can help with what you want:

Hide/show panels based on selection:
http://www.sencha.com/forum/showthread.php?242007