DataGrdi. How to handle column names with a dot (.) in them when you don't want complex binding

Hi.


I am using the data grid in Blazor and have a situation where column names validly have a dot (.) in them but i don't want complex data binding.  The columns display no data, as presumably they are trying to do complex data binding.

Is there a way to turn this off?


Thanks


1 Reply

MS Monisha Saravanan Syncfusion Team October 30, 2024 11:14 AM UTC


Hi John,


Greetings from Syncfusion.


We would like to inform you that the DataGrid supports binding complex columns using the dot operator. In your scenario, using a dot operator in the generated column field name may lead to issues, as it will be interpreted as a complex column. Currently, it is not recommended to use the dot operator, and we do not provide an option to disable complex column interpretation. Instead of the dot operator, we suggest using an alternative separator, such as an underscore (“_”) or hyphen (“-”), to avoid this issue.


Please let us know if you have any concerns.


Regards,

Monisha



Loader.
Up arrow icon