-
New Feature
-
Resolution: Unresolved
-
Critical
-
None
-
6.5.1
-
None
My problem is that the sort direction icons are not displaying in the listheader. It seems like unless you set the ascending and descending comparators it doesn't include these, but since I have my own custom sorting method I don't want to include these. In my code sample, notice that I set the sort direction on both listheaders, but only the one with setSort="auto" displays any icons. Here is the sample:
<window title="Listbox" border="normal">
<listbox>
<listhead sizable="true">
<listheader label="Subject" sortDirection="ascending"/>
<listheader label="Received" sortDirection="ascending" sort="auto"/>
</listhead>
<listitem height="28px">
<listcell label="ZK Jet 0.8.0 is released" />
<listcell label="2008/11/17 17:41:29" />
</listitem>
<listitem height="28px">
<listcell label="URLs for iPhone-Optimized Google Sites" />
<listcell label="2008/11/17 15:56:37" />
</listitem>
<listitem height="28px">
<listcell label="Style Guide for ZK 3.5 released" />
<listcell label="2008/11/14 13:23:07" />
</listitem>
<listitem height="28px">
<listcell label="ZK Studio 0.9.0 released." />
<listcell label="2008/11/16 10:26:37" />
</listitem>
</listbox>
</window>
The second bug is what then i click on listheader it has only to state ascending and descending hasn't natural state