You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-dev@incubator.apache.org by "David Day (JIRA)" <xa...@incubator.apache.org> on 2007/11/09 22:37:50 UTC
[jira] Created: (XAP-539) Table columns shrink when sorted
Table columns shrink when sorted
--------------------------------
Key: XAP-539
URL: https://issues.apache.org/jira/browse/XAP-539
Project: XAP
Issue Type: Bug
Components: Widgets: Table/Tree/TreeTable
Environment: IE7, IE6, Windows XP
Reporter: David Day
Priority: Blocker
Each time a column is sorted in a table, all columns in that table shrink by a small amount.
Important: The problem only occurs when a width is not specified for the header.
Steps:
1. Use this XAL:
<xal xmlns="http://openxal.org/ui/html">
<rootPane>
<freePane width="1024px" height="768px">
<horizontalBoxPane height="500px">
<table id="messagesTable" height="500px" width="500px">
<column>
<header text="Topic"/>
</column>
<column>
<header text="Listener"/>
</column>
<column>
<header text="Content"/>
</column>
<row>
<cell text="Row 1 Cell 1"/>
<cell text="Row 1 Cell 2"/>
<cell text="Row 1 Cell 1"/>
</row>
<row>
<cell text="Row 2 Cell 1"/>
<cell text="Row 2 Cell 2"/>
<cell text="Row 1 Cell 1"/>
</row>
<row>
<cell text="Row 3 Cell 1"/>
<cell text="Row 3 Cell 2"/>
<cell text="Row 1 Cell 1"/>
</row>
</table>
</horizontalBoxPane>
</freePane>
</rootPane>
</xal>
2. Run the xal and notice columns shrink each time a column is sorted.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (XAP-539) Table columns shrink when sorted
Posted by "David Day (JIRA)" <xa...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/XAP-539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Day updated XAP-539:
--------------------------
Description:
Each time a column is sorted in a table, all columns in that table shrink by a small amount. Also, text formatting inside table cells is broken.
Important: Both problems only occur when a width is not specified for the header.
Steps:
1. Use this XAL:
<xal xmlns="http://openxal.org/ui/html">
<rootPane>
<freePane width="1024px" height="768px">
<horizontalBoxPane height="500px">
<table id="messagesTable" height="500px" width="500px">
<column>
<header text="Topic"/>
</column>
<column>
<header text="Listener"/>
</column>
<column>
<header text="Content"/>
</column>
<row>
<cell text="Row 1 Cell 1"/>
<cell text="Row 1 Cell 2"/>
<cell text="Row 1 Cell 1"/>
</row>
<row>
<cell text="Row 2 Cell 1"/>
<cell text="Row 2 Cell 2"/>
<cell text="Row 1 Cell 1"/>
</row>
<row>
<cell text="Row 3 Cell 1"/>
<cell text="Row 3 Cell 2"/>
<cell text="Row 1 Cell 1"/>
</row>
</table>
</horizontalBoxPane>
</freePane>
</rootPane>
</xal>
2. Run the xal and notice columns shrink each time a column is sorted.
was:
Each time a column is sorted in a table, all columns in that table shrink by a small amount.
Important: The problem only occurs when a width is not specified for the header.
Steps:
1. Use this XAL:
<xal xmlns="http://openxal.org/ui/html">
<rootPane>
<freePane width="1024px" height="768px">
<horizontalBoxPane height="500px">
<table id="messagesTable" height="500px" width="500px">
<column>
<header text="Topic"/>
</column>
<column>
<header text="Listener"/>
</column>
<column>
<header text="Content"/>
</column>
<row>
<cell text="Row 1 Cell 1"/>
<cell text="Row 1 Cell 2"/>
<cell text="Row 1 Cell 1"/>
</row>
<row>
<cell text="Row 2 Cell 1"/>
<cell text="Row 2 Cell 2"/>
<cell text="Row 1 Cell 1"/>
</row>
<row>
<cell text="Row 3 Cell 1"/>
<cell text="Row 3 Cell 2"/>
<cell text="Row 1 Cell 1"/>
</row>
</table>
</horizontalBoxPane>
</freePane>
</rootPane>
</xal>
2. Run the xal and notice columns shrink each time a column is sorted.
> Table columns shrink when sorted
> --------------------------------
>
> Key: XAP-539
> URL: https://issues.apache.org/jira/browse/XAP-539
> Project: XAP
> Issue Type: Bug
> Components: Widgets: Table/Tree/TreeTable
> Environment: IE7, IE6, Windows XP
> Reporter: David Day
> Priority: Blocker
>
> Each time a column is sorted in a table, all columns in that table shrink by a small amount. Also, text formatting inside table cells is broken.
> Important: Both problems only occur when a width is not specified for the header.
> Steps:
> 1. Use this XAL:
> <xal xmlns="http://openxal.org/ui/html">
> <rootPane>
> <freePane width="1024px" height="768px">
> <horizontalBoxPane height="500px">
> <table id="messagesTable" height="500px" width="500px">
> <column>
> <header text="Topic"/>
> </column>
> <column>
> <header text="Listener"/>
> </column>
> <column>
> <header text="Content"/>
> </column>
> <row>
> <cell text="Row 1 Cell 1"/>
> <cell text="Row 1 Cell 2"/>
> <cell text="Row 1 Cell 1"/>
> </row>
> <row>
> <cell text="Row 2 Cell 1"/>
> <cell text="Row 2 Cell 2"/>
> <cell text="Row 1 Cell 1"/>
> </row>
> <row>
> <cell text="Row 3 Cell 1"/>
> <cell text="Row 3 Cell 2"/>
> <cell text="Row 1 Cell 1"/>
> </row>
> </table>
> </horizontalBoxPane>
> </freePane>
> </rootPane>
> </xal>
> 2. Run the xal and notice columns shrink each time a column is sorted.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (XAP-539) Table columns shrink when sorted
Posted by "James Margaris (JIRA)" <xa...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/XAP-539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Margaris resolved XAP-539.
--------------------------------
Resolution: Fixed
fix checked in
> Table columns shrink when sorted
> --------------------------------
>
> Key: XAP-539
> URL: https://issues.apache.org/jira/browse/XAP-539
> Project: XAP
> Issue Type: Bug
> Components: Widgets: Table/Tree/TreeTable
> Environment: IE7, IE6, Windows XP
> Reporter: David Day
> Priority: Blocker
> Attachments: table_sorting_fix.zip
>
>
> Each time a column is sorted in a table, all columns in that table shrink by a small amount. Also, text formatting inside table cells is broken.
> Important: Both problems only occur when a width is not specified for the header.
> Steps:
> 1. Use this XAL:
> <xal xmlns="http://openxal.org/ui/html">
> <rootPane>
> <freePane width="1024px" height="768px">
> <horizontalBoxPane height="500px">
> <table id="messagesTable" height="500px" width="500px">
> <column>
> <header text="Topic"/>
> </column>
> <column>
> <header text="Listener"/>
> </column>
> <column>
> <header text="Content"/>
> </column>
> <row>
> <cell text="Row 1 Cell 1"/>
> <cell text="Row 1 Cell 2"/>
> <cell text="Row 1 Cell 1"/>
> </row>
> <row>
> <cell text="Row 2 Cell 1"/>
> <cell text="Row 2 Cell 2"/>
> <cell text="Row 1 Cell 1"/>
> </row>
> <row>
> <cell text="Row 3 Cell 1"/>
> <cell text="Row 3 Cell 2"/>
> <cell text="Row 1 Cell 1"/>
> </row>
> </table>
> </horizontalBoxPane>
> </freePane>
> </rootPane>
> </xal>
> 2. Run the xal and notice columns shrink each time a column is sorted.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (XAP-539) Table columns shrink when sorted
Posted by "David Day (JIRA)" <xa...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/XAP-539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541467 ]
David Day commented on XAP-539:
-------------------------------
It might not be a blocker if we notify users that they must specify a header width.
> Table columns shrink when sorted
> --------------------------------
>
> Key: XAP-539
> URL: https://issues.apache.org/jira/browse/XAP-539
> Project: XAP
> Issue Type: Bug
> Components: Widgets: Table/Tree/TreeTable
> Environment: IE7, IE6, Windows XP
> Reporter: David Day
> Priority: Blocker
>
> Each time a column is sorted in a table, all columns in that table shrink by a small amount.
> Important: The problem only occurs when a width is not specified for the header.
> Steps:
> 1. Use this XAL:
> <xal xmlns="http://openxal.org/ui/html">
> <rootPane>
> <freePane width="1024px" height="768px">
> <horizontalBoxPane height="500px">
> <table id="messagesTable" height="500px" width="500px">
> <column>
> <header text="Topic"/>
> </column>
> <column>
> <header text="Listener"/>
> </column>
> <column>
> <header text="Content"/>
> </column>
> <row>
> <cell text="Row 1 Cell 1"/>
> <cell text="Row 1 Cell 2"/>
> <cell text="Row 1 Cell 1"/>
> </row>
> <row>
> <cell text="Row 2 Cell 1"/>
> <cell text="Row 2 Cell 2"/>
> <cell text="Row 1 Cell 1"/>
> </row>
> <row>
> <cell text="Row 3 Cell 1"/>
> <cell text="Row 3 Cell 2"/>
> <cell text="Row 1 Cell 1"/>
> </row>
> </table>
> </horizontalBoxPane>
> </freePane>
> </rootPane>
> </xal>
> 2. Run the xal and notice columns shrink each time a column is sorted.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (XAP-539) Table columns shrink when sorted
Posted by "Trevor Oldak (JIRA)" <xa...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/XAP-539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541502 ]
Trevor Oldak commented on XAP-539:
----------------------------------
This is likely related to XAP-477 and XAP-216
> Table columns shrink when sorted
> --------------------------------
>
> Key: XAP-539
> URL: https://issues.apache.org/jira/browse/XAP-539
> Project: XAP
> Issue Type: Bug
> Components: Widgets: Table/Tree/TreeTable
> Environment: IE7, IE6, Windows XP
> Reporter: David Day
> Priority: Blocker
>
> Each time a column is sorted in a table, all columns in that table shrink by a small amount. Also, text formatting inside table cells is broken.
> Important: Both problems only occur when a width is not specified for the header.
> Steps:
> 1. Use this XAL:
> <xal xmlns="http://openxal.org/ui/html">
> <rootPane>
> <freePane width="1024px" height="768px">
> <horizontalBoxPane height="500px">
> <table id="messagesTable" height="500px" width="500px">
> <column>
> <header text="Topic"/>
> </column>
> <column>
> <header text="Listener"/>
> </column>
> <column>
> <header text="Content"/>
> </column>
> <row>
> <cell text="Row 1 Cell 1"/>
> <cell text="Row 1 Cell 2"/>
> <cell text="Row 1 Cell 1"/>
> </row>
> <row>
> <cell text="Row 2 Cell 1"/>
> <cell text="Row 2 Cell 2"/>
> <cell text="Row 1 Cell 1"/>
> </row>
> <row>
> <cell text="Row 3 Cell 1"/>
> <cell text="Row 3 Cell 2"/>
> <cell text="Row 1 Cell 1"/>
> </row>
> </table>
> </horizontalBoxPane>
> </freePane>
> </rootPane>
> </xal>
> 2. Run the xal and notice columns shrink each time a column is sorted.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (XAP-539) Table columns shrink when sorted
Posted by "Michael Mikhaylov (JIRA)" <xa...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/XAP-539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Mikhaylov updated XAP-539:
----------------------------------
Attachment: table_sorting_fix.zip
This patched TreeTable.js file fixes IE sorting issue.
> Table columns shrink when sorted
> --------------------------------
>
> Key: XAP-539
> URL: https://issues.apache.org/jira/browse/XAP-539
> Project: XAP
> Issue Type: Bug
> Components: Widgets: Table/Tree/TreeTable
> Environment: IE7, IE6, Windows XP
> Reporter: David Day
> Priority: Blocker
> Attachments: table_sorting_fix.zip
>
>
> Each time a column is sorted in a table, all columns in that table shrink by a small amount. Also, text formatting inside table cells is broken.
> Important: Both problems only occur when a width is not specified for the header.
> Steps:
> 1. Use this XAL:
> <xal xmlns="http://openxal.org/ui/html">
> <rootPane>
> <freePane width="1024px" height="768px">
> <horizontalBoxPane height="500px">
> <table id="messagesTable" height="500px" width="500px">
> <column>
> <header text="Topic"/>
> </column>
> <column>
> <header text="Listener"/>
> </column>
> <column>
> <header text="Content"/>
> </column>
> <row>
> <cell text="Row 1 Cell 1"/>
> <cell text="Row 1 Cell 2"/>
> <cell text="Row 1 Cell 1"/>
> </row>
> <row>
> <cell text="Row 2 Cell 1"/>
> <cell text="Row 2 Cell 2"/>
> <cell text="Row 1 Cell 1"/>
> </row>
> <row>
> <cell text="Row 3 Cell 1"/>
> <cell text="Row 3 Cell 2"/>
> <cell text="Row 1 Cell 1"/>
> </row>
> </table>
> </horizontalBoxPane>
> </freePane>
> </rootPane>
> </xal>
> 2. Run the xal and notice columns shrink each time a column is sorted.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (XAP-539) Table columns shrink when sorted
Posted by "Trevor Oldak (JIRA)" <xa...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/XAP-539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Trevor Oldak closed XAP-539.
----------------------------
> Table columns shrink when sorted
> --------------------------------
>
> Key: XAP-539
> URL: https://issues.apache.org/jira/browse/XAP-539
> Project: XAP
> Issue Type: Bug
> Components: Widgets: Table/Tree/TreeTable
> Environment: IE7, IE6, Windows XP
> Reporter: David Day
> Priority: Blocker
> Attachments: table_sorting_fix.zip
>
>
> Each time a column is sorted in a table, all columns in that table shrink by a small amount. Also, text formatting inside table cells is broken.
> Important: Both problems only occur when a width is not specified for the header.
> Steps:
> 1. Use this XAL:
> <xal xmlns="http://openxal.org/ui/html">
> <rootPane>
> <freePane width="1024px" height="768px">
> <horizontalBoxPane height="500px">
> <table id="messagesTable" height="500px" width="500px">
> <column>
> <header text="Topic"/>
> </column>
> <column>
> <header text="Listener"/>
> </column>
> <column>
> <header text="Content"/>
> </column>
> <row>
> <cell text="Row 1 Cell 1"/>
> <cell text="Row 1 Cell 2"/>
> <cell text="Row 1 Cell 1"/>
> </row>
> <row>
> <cell text="Row 2 Cell 1"/>
> <cell text="Row 2 Cell 2"/>
> <cell text="Row 1 Cell 1"/>
> </row>
> <row>
> <cell text="Row 3 Cell 1"/>
> <cell text="Row 3 Cell 2"/>
> <cell text="Row 1 Cell 1"/>
> </row>
> </table>
> </horizontalBoxPane>
> </freePane>
> </rootPane>
> </xal>
> 2. Run the xal and notice columns shrink each time a column is sorted.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.