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


  共有1678人关注过本帖平板打印复制链接

主题: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;

 回到顶部