DropDownList in datatable
Hi,
I'm setting two columns as dropdownlist in my datatable , for example , column A and column B.
A is not be edited and binded from a dataprovider ( id & name ), but when I set A to be "readonly", the name don't show , only the id is visible.
B is a flag column . The result is Integer , but show the Indication, How bind the result to B.
Thanks.
Smile.
[399 byte] By [
nsqsmile] at [2007-11-26 11:09:55]

# 1
Hi,
Maybe I was not clear expression.
For the poor standard of English, I have to apologize to All.Bow down!
I want to set one dropdownlist column to be readonly in my datatable, and the column should show the show-field, In fact , This is not the case, It show the value-field.
The second question I have solved by binding the page's property of com.sun.rave.web.ui.model.Option[]. I'm learning from the forum.
Greet Forum!
Thanks.
Smile
# 2
Hi,I learned how to use the duke dollars,haha,take five dollars.Congratulations! Smile
# 4
Hi,All
SOS!!!
How to set a dropdown to readonly in datatable on a display page, and it display the display-value,not field-value?
This question must certainly occur frequently , I do not know how to solve it about All.
If we do not solve this problem, we would not be able to carry out the project.
Thanks a lot!
Smile
# 6
I am also having the same problem with Readonly dropdown and text area.
1) Readonly Dropdown :
Lets assume that the default options list bound to the dropdown has following content
DisplayValue
============
ABC 123
DEF456
GHI789
---
Now if set the readonly property of the dropdown to false, I can see the Display values (ABC, DEF, etc) correctly. However, if I set the readonly property of the dropdown to true, I am seeing values like 123, 456, etc. I want to see the display values when I set the readonly property of the dropdown to true. Please help me.
2) Readonly Textarea.
Lets assume that following data is present in a textarea (without the lines)
Hi
How
Are
You
If I set the readonly property of the textarea to false, I am able to see the text in the textarea correctly. However, if the readonly property of the textarea is set to true, the text in the textarea is displayed something like this :
HiHowAreYou
Please help me.
I hope I am clear. In case of clarifications, please revert. Thanks in advance.
Regards,
Shastri.
# 8
Hello, try to make you DropDownList Disabled.It will work like you want, but will be a dark gray colored.You can try to change some style sheet properties, to avoid this.Regards,Alexandr Murga
# 9
Hi Folks,This is a known bug. I tried seraching for it, didnt find it yet, will keep trying, you can too http://www.netbeans.org/issues/query.cgiThanksK