jQuery MiniUI

标题: datagrid 中editor使用treeselect [打印本页]

作者: xintao    时间: 2020-9-28 17:37:30     标题: datagrid 中editor使用treeselect

在datagrid中列editor使用treeselect 控件时,在datagrid setdata后,已有数据的列不能编辑,只可以在添加的空白列上编辑。
报错
Uncaught TypeError: p.indexOf is not a function
    at mini.DataTree.findRecords (nui-min.js:1)
    at mini.Tree.findNodes (nui-min.js:1)
    at mini.TreeSelect.findItems (nui-min.js:1)
    at mini.TreeSelect.getValue (nui-min.js:1)
    at mini.DataGrid._OnCellCommitEdit (nui-min.js:1)
    at mini.DataGrid.commitEdit (nui-min.js:1)
    at mini.DataGrid.b (nui-min.js:1)
    at mini.DataGrid._pushUpdateCallback (nui-min.js:1)
    at mini.DataGrid.beginEditCell (nui-min.js:1)
    at mini._Grid_Select.__OnGridCellClick (nui-min.js:1)






作者: felt    时间: 2020-9-28 17:47:14

检查数据,treeselect的值字段不要用数字




欢迎光临 jQuery MiniUI (http://miniui.com/discuss/) Powered by Discuz! X2