社区
Delphi
帖子详情
如何使cxDBTreeList中的记录移动到指定的行、列?
wxsan
2009-09-16 01:32:07
如何使cxDBTreeList中的记录移动到指定的行、列?
...全文
327
6
打赏
收藏
如何使cxDBTreeList中的记录移动到指定的行、列?
如何使cxDBTreeList中的记录移动到指定的行、列?
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
6 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
wxsan
2009-09-17
打赏
举报
回复
多谢,搞定了。
reasure
2009-09-17
打赏
举报
回复
很简单, cxDBTreeList1.DataController.FocusedRecordIndex := row;搞定。
wxsan
2009-09-16
打赏
举报
回复
在线等待...
wxsan
2009-09-16
打赏
举报
回复
ACxView.Nodes.TreeList.FocusedNode.RecordIndex := row;
ACxView.Nodes.TreeList.FocusedNode.Focused := True;
这种已经可以移动到指定的行,但问题是移动到指定行以后,则那行记录被选中,如果再移动到其他记录时候则所有移动经过的行都会被选择上且高亮显示。而且选中的行前面的Indicator都会有个三角箭头。如何保持只有当前行的Indicator才会有三角箭头?
wxsan
2009-09-16
打赏
举报
回复
我需要cxDBTreeList本身提供的定位功能,现在行和列已经知道了。唯一需要就是根据行号和列号定位,哪位有没有具体的方法?
bdmh
2009-09-16
打赏
举报
回复
循环判断,然后选中,如果知道记录的id,可以直接数据集定位,或者grid本身也提供查找功能
cxDB
Tree
List
的Check关联数据集
cxDB
Tree
List
的Check关联数据集
DevExpress
Tree
List
常见问题解决方法
主要介绍了DevExpress
Tree
List
常见问题解决方法,非常不错,具有参考借鉴价值,需要的朋友可以参考下
DevExpress VCL 13.1.4(v2013vol1.4) 源码-例子-帮助-part2
Q520696 -
cxDB
Tree
List
- The "Stack overflow" exception occurs when binding the
tree
list
to a Firebird table using a TSQLTable component Q524576 - Documentation - A typo in the ...
DevExpress VCL 13.1.4(v2013vol1.4) 源码-例子-帮助-part1
Q520696 -
cxDB
Tree
List
- The "Stack overflow" exception occurs when binding the
tree
list
to a Firebird table using a TSQLTable component Q524576 - Documentation - A typo in the ...
cxdb
tree
list
新增
AParentKeyValue := TMYDBControler(
cxDB
Tree
List
1.DataController).DBParentField.Value; ADOTable1.Append; TMYDBControler(
cxDB
Tree
List
1.DataController).DBParentField.Value := AParentKeyValue; end...
Delphi
5,388
社区成员
262,729
社区内容
发帖
与我相关
我的任务
Delphi
Delphi 开发及应用
复制链接
扫一扫
分享
社区描述
Delphi 开发及应用
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章