>> I would give nested grid id="${row}[tbl_inside]".

Actually my grid structure look like this:
<grid width="90%" id="${row}[tbl_inside]">
    <columns>
        <column/>
        <column/>
        <column/>
        <column/>
    </columns>
    <rows>
        <row class="th">
            <description value="Column 1"/>
            <description value="Column 1"/>
            <description value="Column 1"/>
        </row>
        <row class="row">
            <description id="${row}[col1]" no_lang="1"/>
            <description id="${row}[col2]" no_lang="1"/>
            <description id="${row}[col3]" no_lang="1"/>
        </row>
    </rows>
</grid>

The problem is ${row}[col1]‚Äč is not fetching tbl_inside row. The {row} is reading on the outer grid.
Confused.


 
----------------Original message-----------------
From: "Ralf Becker-2 [via EGroupware]" [[hidden email]]
To: Ki Setargilop [[hidden email]]
Date: Thu, 3 Apr 2014 02:19:50 -0700 (PDT)
----------------------------------------------------------

Hi Ki,

Am 03.04.14 11:10, schrieb Ki Setargilop:

> My array structure below:
>
> I am working it under nextmatch table.
>
> $rows = array(
>  [0] => array(
>    [tbl_inside] = array(
>     [0] = array(
>      [col1] = "column_1",
>      [col2] = "column_2",
>      [col3] = "column_3",
>     ),
>     [1] = array(
>      [col1] = "column_1",
>      [col2] = "column_2",
>      [col3] = "column_3",
>     ),
>    ),
>  ),
>  [1] => array(
>    [tbl_inside] = array(
>     [0] = array(
>      [col1] = "column_1",
>      [col2] = "column_2",
>      [col3] = "column_3",
>     ),
>     [1] = array(
>      [col1] = "column_1",
>      [col2] = "column_2",
>      [col3] = "column_3",
>     ),
>    ),
>  )
> );
>
> The table inside the nextmatch row is not appearing.
Ok, you want to autorepeat the nested table.

I would give nested grid id="${row}[tbl_inside]".

Ralf
--
Ralf Becker
Director Software Development

Stylite AG

Morschheimer Strasse 15 | Tel. +49 6352 70629 0
D-67292 Kirchheimbolanden | Fax. +49 6352 70629 30

Email: [hidden email]

www.stylite.de | www.egroupware.org

Managing Directors: Andre Keller | Ralf Becker | Gudrun Mueller
Chairman of the supervisory board: Prof. Dr. Birger Leon Kropshofer

VAT DE214280951 | Registered HRB 31158 Kaiserslautern Germany


------------------------------------------------------------------------------

_______________________________________________
eGroupWare-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-developers

signature.asc (916 bytes) Download Attachment
 
If you reply to this email, your message will be added to the discussion below:
http://egroupware.219119.n3.nabble.com/Nested-tables-in-eTemplate2-tp3996971p3996989.html
To unsubscribe from Nested tables in eTemplate2, click here.
NAML

Gil T. Poligrates
Web Developer
[hidden email]





View this message in context: Re: Nested tables in eTemplate2
Sent from the egroupware-developers mailing list archive at Nabble.com.