Can you bind a column to a specific index in a List, without using a hierarchical grid?
For example, with the following data structure:
public
class
Survey {
public
string
Name {
get
;
set
; }
public
List<
string
> Answers {
get
;
set
; }
public
Survey() {
Answers =
new
List<
string
>();
}
}
The grid is bound to a data source of List<Survey>.
I can obviously create a column with a FieldName of: "Name".
Can I create a column with a FieldName of: "Answers[0]"?
I looked at the documentation article Binding to Sub Objects, and I didn't notice any restrictions on this.
Thanks,
Eric.