Datagrid Edit Cell is not working.

HI Team,

I am working on SFDatagrid, Inside the Datagrid implementing the edit  Cells ( GridTextColumn and GridComboBoxColumn).

GridComboBoxColumn ItemSource is not Binding the values and TextColumn Change not updating.

I attached the sample code, please check it and let me know to solve the issue..


Thank you,

Praveen


Attachment: Test_1540e558.zip

3 Replies

KK Karthikraja Kalaimani Syncfusion Team June 30, 2021 04:57 AM UTC

Hi Praveen,

Regarding "Data does not update for textColumn", you have missed to implement INotifyPropertyChanged for you model class. So, only the data is not updated. So, please implement INotifyPropertyChanged interface for model class and call property changed method for all properties in your model class.

Regarding "Values not showing in GridComboBox column", currently we are validating this. So, we will validate and the update the details on or before 1st July 2021. We appreciate your patience until then.

Regards,
Karthik Raja



KK Karthikraja Kalaimani Syncfusion Team July 1, 2021 02:18 PM UTC

Hi Praveen, 

We need some more time to analyse the issue in source level. So we will update further details on or before 5th July 2021. We appreciate your patience until then. 

Regards,
Karthik Raja


VP Vimal Prabhu Manohkaran Syncfusion Team July 5, 2021 11:29 AM UTC

Hi Praveen,

Thanks for your patience. As mentioned in previous update, adding INotifyPropertyChanged implementation for your OrderInfo class will make the data gets updated in the TextColumn.


However for GridComboBoxColumn, even though binding of primitive typed collections work properly, there are some issues when binding a custom typed collection, especially when the DisplayMemberPath values are not a part of the underlying `SfDataGrid.ItemsSource` collection. So we have logged a bug for the same. This bug will be fixed and included in any of our upcoming weekly release versions. You can track the status of the same using the below link.

https://www.syncfusion.com/feedback/26723/value-binding-not-fired-for-gridcombobox-column-when-entering-edit-mode


Thanks,
Vimal Prabhu.


Loader.
Up arrow icon