Horizontal ImportData

Hi,
I need to import a large set of data from a list of lists. 
Basically the first list represents the rows, than each element in that list contains a second list that should go on the columns.

I can't use a data table of fixed class, because the number of cells on the rows varies.

So

var    List<List<ResultItem>>  allItems;

With


 public class ResultItem
    {
        public int Item { get; set; }
    }

So allitems contains a list of items that each should go on a row.

Importdata does not handle this. ImportArray can do horizontal, but I need an array. 
What is your recommended way to handle this with performance in mind? 

1 Reply

AV Abirami Varadharajan Syncfusion Team February 27, 2018 12:29 PM UTC

Hi Pieter, 

Thank you for contacting Syncfusion support. 

We have prepared sample to achieve your requirement by importing the nested lists using template marker and the sample can be downloaded from the following link. 


Please refer below documentation to know more about Template marker. 


Regards, 
Abirami. 


Loader.
Up arrow icon