makeEditable "loadurl" problem
makeEditable "loadurl" problem
Hello there... I'm really banging my head against a wall here.
I've posted another post but have traced the error thus far:
when and IF I use loadurl in the aoColumns in makeEditable() the script hangs (and the table does not even finish rendering) and gives me a TypeError: $.editable.types[settings.type] is undefined.
The value of loadurl when run independently of datatables is indeed giving me a json string - for example:
[code]
{"6":"bob@bobjones.com","3":"info@something.com","4":"info@something.com","7":"Someone.Phillips@SOMETHING.Net","8":"Rich Bob","2":"somewhere@mchsi.com","1":"Test Person","9":"Test Salesperson","5":"test@test.com"}
[/code]
If I just hard code data with a json string like
[code]
{'':'Please select...', '1':'Yes','0':'No'}
[/code]
and use type: 'select' it works.
Now, here's the kicker, I do NOT see a request in XHR of Firebug for the loadurl... Why would this be?
Thanks!
I've posted another post but have traced the error thus far:
when and IF I use loadurl in the aoColumns in makeEditable() the script hangs (and the table does not even finish rendering) and gives me a TypeError: $.editable.types[settings.type] is undefined.
The value of loadurl when run independently of datatables is indeed giving me a json string - for example:
[code]
{"6":"bob@bobjones.com","3":"info@something.com","4":"info@something.com","7":"Someone.Phillips@SOMETHING.Net","8":"Rich Bob","2":"somewhere@mchsi.com","1":"Test Person","9":"Test Salesperson","5":"test@test.com"}
[/code]
If I just hard code data with a json string like
[code]
{'':'Please select...', '1':'Yes','0':'No'}
[/code]
and use type: 'select' it works.
Now, here's the kicker, I do NOT see a request in XHR of Firebug for the loadurl... Why would this be?
Thanks!
This discussion has been closed.