Datatable warning -> unable to cast enum field
Datatable warning -> unable to cast enum field
![cmurcia](https://secure.gravatar.com/avatar/bd48f763d9270df0c944bab08b78d94b/?default=https%3A%2F%2Fvanillicon.com%2Fbd48f763d9270df0c944bab08b78d94b_200.png&rating=g&size=120)
Hi,
I have a mysql table with enum field e_Destinatario.
I get this error:
"DataTables warning: table id=example - Unable to cast value to be e_Destinatario"
How can I get rid of this error. I need to handle this field.
Thank you
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @cmurcia ,
Is this with Editor? Could you post your code and/or link to a test case or your page?
Cheers,
Colin
I've removed {get; set;} from the model and create custom string fields to read the data from de db.
Thanks.