Hi Mohammed Fahmidur
Rahman,
Please note that
data bindings will work in this case, but data operations like sorting will not
function as expected. This is because, in our source code, data operations are
based on properties defined in the model class of the observable collection. In
your scenario, the observable collection uses `Interface A` as its type, which
does not include the `TestProperty`. As a result, the DataGrid cannot locate
this property within `Interface A` and, therefore, cannot retrieve property
values for sorting.
If you replace the
observable collection’s type with `SampleData`, sorting will work, as all
necessary properties are available within the `SampleData` class. We have
shared a sample with this change for your reference.
Could you let us
know if there is a specific reason for using `Interface A` as the collection
type instead of `SampleData`? If so, please provide additional details, and we
will be happy to analyze your requirements further and suggest an alternative
solution.
Regards,
Sethupathy D.
Attachment:
SfDataGridSample_fddd743e.zip