Foxtable(狐表)用户栏目专家坐堂 → IsNode 属性怎么设定?


  共有1677人关注过本帖树形打印复制链接

主题:IsNode 属性怎么设定?

帅哥哟,离线,有人找我吗?
lur320
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:四尾狐 帖子:983 积分:8628 威望:0 精华:0 注册:2015/8/12 16:28:00
IsNode 属性怎么设定?  发帖心情 Post By:2018/9/8 15:43:00 [只看该作者]

由于从SQL调取行后,要进行很多编辑,不能使用flex.rows.insertnode来按照顺序插入列。
请问如果在行编辑完毕后,使用Isnode属性来设定为node?



To obtain a Node object, you can either:

Use the return value of the Rows.InsertNode method:

var node = _flex.Rows.InsertNode(index, level);

		

Or you can retrieve the node for an existing row using the row's Node property:

var node = _flex.Rows[index].IsNode
   ? _flex.Rows[index].Node
   : null;

 回到顶部
帅哥,在线噢!
有点蓝
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:107730 积分:547983 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2018/9/8 15:48:00 [只看该作者]

c1表格控件底层的用法请自行研究。我也没有研究过

 回到顶部