Hi Willy, you seem to have hijacked a thread to start a new topic. I think your problem is caused because you are trying to flatten a grid with no rows. You'll need to render at least one row (even if it contains blank values) for it to be flattened. This could be done by wrapping your GridDataSource in an implementation that returns one empty row when the list is empty.
If you require further help, please start a new thread with a new subject.