dataTables.editable.js - rowData is not defined

dataTables.editable.js - rowData is not defined

robertino_salemirobertino_salemi Posts: 13Questions: 0Answers: 0
edited March 2014 in Plug-ins
Hi,
i use this script for add new record to my tables, I working on ASP.net MVC.

I write:
[code]
oTable = $('#tableToShow').dataTable
({
oLanguage: { sUrl: "/RaGe.IRES/HTML/TranslateDataTables" },
"sScrollY": "0px",
"bPaginate": false,
"bScrollCollapse": true
}).makeEditable({
sAddURL: "@Url.Content("~/Insert/AddNewRow")",
oAddNewRowButtonOptions: {
label: "Aggiungi",
icons: { primary: 'ui-icon-plus' }
}
});
[/code]

The query of insert works fine, but
1) the form does not close;
2) the firebug console return show an error:
[code]
ReferenceError: rowData is not defined
rtn = oTable.fnAddData(rowData);
[/code]

How i can pass the rowdata?

Thanks.

Replies

  • allanallan Posts: 61,667Questions: 1Answers: 10,096 Site admin
    makeEditable is a 3rd party piece of software and is not supported in these forums. I'd suggest you ask in that projects issue tracker.

    Allan
This discussion has been closed.