abhishek24509 / aribaweb

Automatically exported from code.google.com/p/aribaweb
Apache License 2.0
0 stars 0 forks source link

t:DataTable in (RowDetail) displays incorrectly if (parent) t:DataTable's first t:Column does not have key binding #40

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Create .awl (pseudo):
    w:BasicPageWrapper
        t:DataTable "parent"
            (first) t:Column <-- If no key binding set . . .
            t:RowDetail
                    t:DataTable <-- Displays after all columns from "parent"!
                    ...

Example .awl:
<w:BasicPageWrapper hasForm="$true">

    <t:DataTable multiSelect="$false" enableScrolling="$true"
        batchSize="10" list="$parents" item="$parent"
        showOptionsMenu="$true" singleSelect="$true" showSelectionColumn="$false"
        submitOnSelectionChange="$true" hasChildren="$parent.children.size"
        useRowDetailExpansionControl="$true" rowDetailAutoCollapse="$true"
        rowDetailInitialExpansion="0" displayGroup="$displayGroupParent">

        <t:Column label="Name" nowrap="$true">
            <a:String escapeUnsafeHtml="$true" value="$parent.name" />
        </t:Column>

        <t:RowDetail showRowLine="$true">
            <t:DataTable multiSelect="$false" list="$parent.children"
                displayGroup="$displayGroupChildren" item="$child" singleSelect="$true"
                showSelectionColumn="$false">

                <t:Column label="Name" "name" nowrap="$false">
                    <a:String escapeUnsafeHtml="$true" value="$child.name" />
                </t:Column>

            </t:DataTable>
        </t:RowDetail>
    </t:DataTable>
</w:BasicPageWrapper>

What is the expected output? What do you see instead?
Child table (in RowDetail) should display nicely, slightly indented under
parent table. (Like when column's key binding is set.)

What version of the product are you using? On what operating system?
5.0 RC2, Firefox 3, WinXPPro32

Please provide any additional information below.
If no key binding is specified for first column in t:DataTable, child
t:DataTable in t:RowDetail will follow all parent columns (pushed to the
right side).

Original issue reported on code.google.com by morton.t...@gmail.com on 21 Apr 2009 at 3:54