Re: [Xsltforms-support] Insert a new row in a repeat table
Brought to you by:
alain-couthures
From: Dan M. <dan...@gm...> - 2010-05-11 12:38:38
|
I would use the "origin" attribute in the insert. http://en.wikibooks.org/wiki/XForms/Deep_Copy_with_Insert_Origin On Tue, May 11, 2010 at 2:46 AM, Dhiradj Badloe <dh...@gm...> wrote: > Hi all, > > I'm trying to insert a new row in a repeated table with the following code: > > <xf:trigger> > <xf:label>Add row</xf:label> > <xf:action ev:event="DOMActivate"> > <xf:insert at="index('repeat-opgaven')" position="after" > > nodeset="instance('inlinewerken')/data/tabbladOpgaven/sve/oge/detail[1]/ojt"/> > </xf:action> > </xf:trigger> > > This results in a copy of an existing row, which is added to the end of the > table. > How can I add a new, empty row to the table? Thanks! > > Regards, > Dhiradj Badloe > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > > -- Dan McCreary Semantic Solutions Architect office: (952) 931-9198 cell: (612) 986-1442 |