Hello,
I saw that the ExcludeIncludeFieldsList option only works with entitycollection.
I would like to exclude fields from a typedlist.
I am using a typedlist with fields from several tables (with a relation)
What would be the best way to do this.
I thought maybe this way:
capture the fields in an EntityFields2 array
allFields = tl.GetFieldsInfo();
and delete speficic rows, but the allfields.removeAt doesn't seem to be a valid
I also tried this:
start with an empty Enityfields2 array and add one by one
displayFields.Expand(1);
displayFields.DefineField(allFields[index], displayFields.Count - 1);
the result is that almost all fields from the maintable is done nicely,
but the fields from the related tables stays empty.
tableA.fieldA
tableA.fieldB
tableB.fieldA (stays empty)
...
Richard