DataGrid Column bind value

Hello Radzen team,
I am getting the error "cannot convert from 'System.Guid?' to 'string' " from a data grid column value bound to database table. The following is the relevant code. How do I change the bind value?
I tried the template but it doesn't change the bind value.

Tried the FormatString, but didn't work either.

Hi @DBasil ,

You want to edit Guid? Usually such data are keys or for display purposes only.

Hi @enchev ,

No, I want to remove the error. The application gets this compiler error as the data type for the column is System.Guid? . I am looking for a solution to remove the compiler error.

Just remove the EditTemplate.

If I remove the column and add it back, the code changes as below which removes the compiler error as the Edit Template part is not added when you manually add the column. This will work as a workaround but the column filter won't consider it as string type so the column filter doesn't include the contains option like in string filters

Guid column filter

String column filter

@enchev

Seems like we both posted at the same time. Thank you, I can work with that but my previous post has a question about column filter for the Guid datatype.