Hello,
I want to create an input Datagrid, like a buy list, "Product", "Quantity", "Price", "Total"When the program runs at first time, the ObservableCollection<ClassName> inside of the ViewModel does not have any elements, since at the beginning of the program nothing is loaded.
I can't add new data to the datagrid, maybe by a concept mistake. If it is the case please let me know, if not, I have the following doubts:
The first one, is:In documentation the Binding is: Binding="{Binding ViewModel.ClassName}" If I use it the "Click here to add new row" message doesn't appear, I need to use Binding="{x:Bind ViewModel.ClassName}" to the message appears. What I need to use?
Maybe the next question have a relation with the previous one.
When i edit any of values of the rows, the cells turns again in empty values I don't configured any validation. Do I need to configure some kind of validation?