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());
任何幫助將是可觀的。謝謝。