我可以很好地引用此数据:
$("#treelist").data('kendoTreeList').dataSource.options.batch
(控制台显示false
)但我似乎无法引用此数据:
它说:Uncaught TypeError: Cannot read property 'DepartmentCode' of undefined
$("#treelist").data('kendoTreeList').dataSource._pristineData
它只是显示了这一点:如何获取080
部门代码?
$("#treelist").data('kendoTreeList').dataSource._online
,并获得了true
谢谢!
答案 0 :(得分:0)
好像我可以通过调用DataBound
来获得价值:
events.DataBound("dataBound");
function dataBound(e) {
console.log(e.sender.tbody[0].firstElementChild.cells[1].innerText);
}
虽然不漂亮,但是可以。