Base solution for your next web application
Open Closed

Error with DataTable with entity generated with RAD tool #5435


User avatar
0
expertit created

Hello,

Some help needed. A simple entity generated with RAD tool, the index action gives the following error as you see in attachment. It's a DataTable JS error.

Best regards,

Albert


3 Answer(s)
  • User Avatar
    0
    rodrigosturm created

    in index.js file try to alter "eLTPerson" To "ELTPerson", this js casesensitive really sucks...

  • User Avatar
    0
    yekalkan created

    Hi @expertit

    If your problem persists, can you share js and html files of that page?

  • User Avatar
    0
    expertit created

    Hello @Rodriguo,

    Thanks for your help.

    It was indeed a case sensitivity problem.

    The name of the object in JSon returned by the app service was "eitLocationType",

    while in the generated index.js, the name of this object was "eITLocationType" when used as a parameter for the _ createOrEditModal.Open method,

    and was "EITLocationType" when assigning DataTable data properties.

    I assume that this problem is due to the use of more than one uppercase letter at the beginning of the entity name.

    Best regards,

    Albert