1
我米试图从屏蔽UI grid.I获得所选行的数据作为JSON对象,在他们自己的documentation.But非需要工作给予this和this例子尝试。 grid.select()
给我TypeError: c.value is not a function
和grid.selectedRowIndices()
给出类型错误:grid.selectedRowIndices is not a function
。屏蔽UI电网获得所选行的数据
events: {
selectionChanged: function (e) {
//var data = e.target.dataSource.view;
var grid = $("#user_grid").swidget();
//console.log(grid.selectedRowIndices());
console.log(grid.select());
任何帮助将是可观的。谢谢。