Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-205

Listitem doesn't show selection if disabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 5.0.8
    • 5.0.7
    • General
    • None

      https://sourceforge.net/tracker/?func=detail&aid=3340841&group_id=152762&atid=785191

      <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>

            SimonPai SimonPai
            asukachen asukachen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: