Datatables 无法读取属性';自然的';未定义数据表的定义

Datatables 无法读取属性';自然的';未定义数据表的定义,datatables,jquery-datatables-editor,Datatables,Jquery Datatables Editor,我收到此错误,无法读取未定义数据表的属性“of eatures”。我正在使用数据表编辑器的气泡编辑 变量编辑器; $(文档).ready(函数(){ //对于示例中的提交和返回数据呈现,请使用全局 editor=new$.fn.dataTable.editor({ 阿贾克斯:'http://52.77.155.163/web/index.php?r=ivision/productprices/datatable', 表:“#示例”, 字段:[{ 标签:“Id:”, 姓名:“id” }, ]

我收到此错误,无法读取未定义数据表的属性“of eatures”。我正在使用数据表编辑器的气泡编辑


变量编辑器;
$(文档).ready(函数(){
//对于示例中的提交和返回数据呈现,请使用全局
editor=new$.fn.dataTable.editor({
阿贾克斯:'http://52.77.155.163/web/index.php?r=ivision/productprices/datatable',
表:“#示例”,
字段:[{
标签:“Id:”,
姓名:“id”
}, 
],
表格选项:{
内联:{
onBlur:“提交”
}
}
} );
$('#示例')。on('click','t body td',function(e){
var index=$(this.index();
如果(索引==0){
编者:泡泡(本);
}
});
变量表=$(“#示例”)。数据表({
阿贾克斯:'http://52.77.155.163/web/index.php?r=ivision/productprices/datatable',
dom:“Bfrtip”,
卷轴:300,
分页:false,
bSort:false,
栏目:[
{数据:“id”},
{数据:“getcat(cat_id)”},
{数据:“getproduct(p_id)”},
{数据:“m_价格”},
{数据:“c_价格”},
{数据:“e_价格”},
{
数据:空,
defaultContent:“”,
可订购:false
}],
按钮:[
{扩展:“创建”,编辑器:editor},
{extend:“edit”,editor:editor},
{扩展:“删除”,编辑器:editor}
],
} );
});	
我也遇到了这个错误

这就是问题所在,编辑器的表属性是不同的DataTable Id


在使用相同的Id后,它是固定的。

提供一个代码示例将有助于实现一个很好的交易。HI,我已经添加了代码,现在您能给我一些帮助吗@Chris Hopkins