Nested array in DataGridView
Hello, i want to display object in DataGridView (WinForms) that has an array of values (plus some normal properties) and each value should be assigned to new column, how can i do it ?
Example:
class:
which turns into one line in grid
"name", "a", "b", "c"
I know how to dynamicaly create columns, but i don't know how to bind array to it. I would need something like:
column.DataPropertyName = "items[0]";
Thanks
Thanks
1 Reply
solved it, I ended up inserting single rows and edited the cells and manually set the values