Datatable warning -> unable to cast enum field

Datatable warning -> unable to cast enum field

cmurciacmurcia Posts: 4Questions: 2Answers: 0

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

Answers

  • colincolin Posts: 15,142Questions: 1Answers: 2,586
    Answer ✓

    Hi @cmurcia ,

    Is this with Editor? Could you post your code and/or link to a test case or your page?

    Cheers,

    Colin

  • cmurciacmurcia Posts: 4Questions: 2Answers: 0

    I've removed {get; set;} from the model and create custom string fields to read the data from de db.
    Thanks.

This discussion has been closed.