WPF DataGrid cannot Add a row when datasource is empty

Posted by Trindaz on Stack Overflow See other posts from Stack Overflow or by Trindaz
Published on 2010-01-16T00:28:55Z Indexed on 2010/05/14 7:04 UTC
Read the original article Hit count: 473

Filed under:
|

CanUserAddRows="True" only 'works' when there's already data in the itemsource of the data grid. If it just so happens that there are no rows in the original list of items, then the datagrid doesn't display a 'placeholder' row for entering new items, even though I've set CanUserAddRows="True". Why?!

Thanks in advance, Trindaz

© Stack Overflow or respective owner

Related posts about wpf

Related posts about datagrid