question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to Repeater a collection ?

See original GitHub issue
myCollection = new List<myClass>();
...
var template = new XLTemplate(file);
template.AddVariable(myCollection);
template.Generate();

how to setting named the range in my template excel ?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
Pankratycommented, Nov 28, 2019

@andysheu77

  1. Attach your template
  2. Provide code you use for generating a report
  3. Attach the result you get
  4. Attach a sample file with the result you want to get

With this, it will be much easier for us to help you.

0reactions
andysheu77commented, Nov 29, 2019

@Pankraty thank you! i was try out and success. i put collection in a class , my data not master details, i only want print details,like Word Labels function.

Read more comments on GitHub >

github_iconTop Results From Across the Web

About Displaying Collection Content in a Repeater ...
A repeater is an element that displays multiple items using the same layout. You create the layout you like, and then each repeater...
Read more >
RepeaterItemCollection Class (System.Web.UI.WebControls)
The RepeaterItemCollection class represents a collection of RepeaterItem objects, which in turn represent the data items in a Repeater control.
Read more >
ASP.Net repeaters bind with a collection of objects
I have a collection List<Person> Persons, and in a Person there is a Country (Country.Name). I have successfully bound my repeater to my ......
Read more >
Update Repeater to Collection - Wix Studio Community forum
Use the forEachItem() function to run a function on all of a repeater's repeated items. You can use the callback function to update...
Read more >
Repeater in collections - General Discussions
I have a reports collection and sometimes one report may have multiple PDFs associated with it. It lets me create the collection fine,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found