Type error

Type error

Tripple DeltaTripple Delta Posts: 8Questions: 1Answers: 0

Hello,

After creating a dataset with generator I realized I made a typo mistake.
The column isAdmin was generated as isadmin.
Now I can't set that value with editor and tried to fix this and changed this in these files:
/js/table.user.js
/php/table.user.php
And also in the html page.

Now I'm getting this error:
DataTables warning: table id=user - Requested unknown parameter 'isadmin' for row 0, column 15. For more information about this error, please see http://datatables.net/tn/4

I guess I have to edit another file? Any ideas?

Thanks,
Diederik

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    Hi Diederik,

    Sounds like your change in table.user.js either didn't take, or the browser has cached the old version. Try a ctrl-f5 refresh. Note you need to change it in both the Editor fields and the DataTable columns array.

    Allan

  • Tripple DeltaTripple Delta Posts: 8Questions: 1Answers: 0

    Thanks Allan. It was that easy.
    This is all so new for me. :-)

Sign In or Register to comment.