Menu

#2746 Listitem doesn't show selection if disabled

5.0.7
closed
nobody
None
5
2011-07-15
2011-06-28
No

<listbox checkmark="true" disabled="true"> leaves the checkmarks of the listitems active, but I want them readonly.
<listitem disabled="true" selected="true"> doesn't show the selection for the listitem.

In my opinion the disabled property of the listbox should disable all the listitems too. Otherwise there should be a readonly property for listitem.

<listbox rows="3" multiple="true" checkmark="true" width="200px" disabled="true">
<listhead>
<listheader label="Population"/>
<listheader label="Percentage"/>
</listhead>
<listitem id="a" value="A" selected="true" disabled="true" >
<listcell label="A. Graduate"/>
<listcell label="20%"/>
</listitem>
<listitem id="b" value="B" selected="true">
<listcell label="B. College"/>
<listcell label="23%"/>
</listitem>
<listitem id="c" value="C">
<listcell label="C. High School"/>
<listcell label="40%"/>
</listitem>
<listitem id="d" value="D">
<listcell label="D. Others"/>
<listcell label="17%"/>
</listitem>
</listbox>

Discussion

  •  chen asuka

    chen asuka - 2011-07-15
     
  •  chen asuka

    chen asuka - 2011-07-15
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB