wpf - How to show Column Header of empty collection -
how show column headers empty collection has properties column. properties of collection known in run time. datagrid's autogeneratecolumns set true.
update:
it bug .net framework 4.0. when check sp1 of vs2010 fixed.
how handle this?
the best way in opinion test datasource , if empty add null data item give headers, set row[0].isvisible = false hide row. need undo when data has rows
Comments
Post a Comment