I need to display ,in a WPF app, a 'data matrix' that has no fixed tabular structure i.e.
data row 1: aaa bb ccc
data row 2: 222 $$ ddddd eeee
...
all data is in a list of arrays.
i need to show this data and enable a user to scroll through it.
the strange data structure comes from a textual flat file, and i cannot change this.
i have read a lot, and experimented with a list-view and a grid-view, but so far i am only able to get:
1. dymanic column creation, but this is no good since i have a different schema for each row
2. rendering each row of data as (delimited/formatted) text. but this is no good since all row data is endign up in a single cell (obviously).
3. (havn't done this yet, hoping to avoid) have lots of data templates with triggers, each with a diffrent column count - say from 5 to 40 - to acomodate vast majority of row types.
my question is: how do i bind this data to a list-like / grid-like scrollable view ?
Thanks in advance