Closed StingyJack closed 5 years ago
@StingyJack
You have to convert MyClass to List<object>
object
is value which you want to show on cell, it can be string
, number
for example:
static List<List<object>> SampleListData = new List<List<object>>
{
new List<object>{ "Sakura Yamamoto", "Support Engineer", "London", 46},
new List<object>{ "Serge Baldwin", "Data Coordinator", "San Francisco", 28, "something else" },
new List<object>{ "Shad Decker", "Regional Director", "Edinburgh"},
};
@StingyJack Thank you for your PR, now we support List<List<T>>
type
I've tried a few permutations, but I cant get it to accept a list of the same type objects.
like