Widgets: Table: Alternating row color gets messed up easily
-----------------------------------------------------------
Key: XAP-521
URL: https://issues.apache.org/jira/browse/XAP-521
Project: XAP
Issue Type: Bug
Components: Widgets: Table/Tree/TreeTable
Reporter: Trevor Oldak
Priority: Minor
Run the below xal and try these different steps
1) Sort the second column. The grey row moves to the bottom, so the rows go
white, white grey.
2) Now, sort the first column. The roow coloring disappears completely.
Also see XAP-519.
<xal xmlns="http://openxal.org/ui/html">
<macro:macro xmlns:macro="http://openxal.org/core/macro"
name="defaultMacro">
<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
<xm:replace-children select="//table">
<row>
<cell text="Row 1 Cell 1"/>
<cell text="Row 1 Cell 2"/>
</row>
<row>
<cell text="Row 2 Cell 1"/>
<cell text="Row 2 Cell 2"/>
</row>
<row>
<cell text="Row 3 Cell 1"/>
<cell text="Row 3 Cell 2"/>
</row>
</xm:replace-children>
</xm:modifications>
</macro:macro>
<rootPane>
<freePane width="1024px" height="768px">
<button height="25px" text="Replace table children" width="100px"
x="20px" y="230px" onCommand="macro:defaultMacro.execute()"/>
<table height="200px" width="300px" x="20px" y="10px">
<column>
<header text="Column #1" width="100px"/>
</column>
<column>
<header text="Column #2" width="100px"/>
</column>
<row>
<cell text="Row 1 Cell 1"/>
<cell text="Row 1 Cell 2"/>
</row>
<row>
<cell text="Row 2 Cell 1"/>
<cell text="Row 2 Cell 2"/>
</row>
<row>
<cell text="Row 3 Cell 1"/>
<cell text="Row 3 Cell 2"/>
</row>
</table>
<button height="25px" text="Replace combobox children"
width="100px" x="350px" y="230px" onCommand="macro:cbMacro.execute()"/>
</freePane>
</rootPane>
</xal>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.