We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Template markers - multiple arguments

I can't seem to make template markers work with multiple arguments. I want to set a marker to something like

%TableVar.Fieldname;Vertical;Insert

So that as each row of a data table is added to the worksheet, a new row is inserted. This way my xls template can have header a footer and the number of rows between them will depend on the number of rows of data.

I can make this marker work

%TableVar.Fieldname;Vertical

Although that then overwrites the rows containing the footer, but if I add the argument ;Insert I get a ArgumentOutOfRange error.

Any ideas what I might be doing wrong?


2 Replies

GM Geetha M Syncfusion Team March 2, 2009 01:37 PM UTC

Hi Giles,

I am working on this and will get back to you tomorrow.

Regards,
Geetha



GM Geetha M Syncfusion Team March 6, 2009 06:01 AM UTC

Hi Giles,

Sorry for the delay.

To insert a new row after each row is filled, please use the marker as below:

%TableVar.Fieldname;jump:R[2]C

Here, '2' represents the number of the next row, where '1' will the default value.

You can have a look at the thread linked below which deals with the same:
http://www.syncfusion.com/support/Forums/message.aspx?&MessageID=77331

Please try this and let me know if you have any questions.

Regards,
Geetha


Loader.
Live Chat Icon For mobile
Up arrow icon