jQuery MiniUI

标题: treegrid1.beginEditCell()有这方法吗 [打印本页]

作者: yy0033    时间: 2016-7-21 17:39:31     标题: treegrid1.beginEditCell()有这方法吗

                treegrid1.beginEditCell(newRow, "xx");

作者: dforce    时间: 2016-7-22 09:29:37

支持

作者: yy0033    时间: 2016-7-22 16:19:15

dforce 发表于 2016-7-22 09:29
支持

beginEditCell()焦点只能是当前选种单元格??
作者: dforce    时间: 2016-7-22 16:31:12

yy0033 发表于 2016-7-22 16:19
beginEditCell()焦点只能是当前选种单元格??

不加参数,是当前选中单元格
作者: yy0033    时间: 2016-7-22 16:35:29

dforce 发表于 2016-7-22 16:31
不加参数,是当前选中单元格

我加参数没效果看API好像也没有参数。beginEditCell ( ) 对当前选中单元格启动编辑。
作者: dforce    时间: 2016-7-22 17:29:51

yy0033 发表于 2016-7-22 16:35
我加参数没效果看API好像也没有参数。beginEditCell ( ) 对当前选中单元格启动编辑。 ...

http://www.miniui.com/demo/#src=datagrid/celledit.html
这个示例里面有这个方法的使用




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