打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
cxGrid?分组,最全面了。

我一直在找点"+"的事件,网上老出现怎么去判断是否分组,我也真是受不了。

一、知道RowIndex的前提下

    if BaseTableView.ViewData.Rows[a].Expandable then
    if not BaseTableView.ViewData.Rows[a].HasCells then
    if BaseTableView.ViewData.Rows[a].Expanded then
    if not BaseTableView.ViewData.Rows[a].IsData then
    if BaseTableView.ViewData.Rows[a] is TcxGridGroupRow then

二、只知道Focused的前提下

    if not BaseTableView.Controller.FocusedRow.IsData then

    if not BaseTableView.Controller.FocusedRow.HasCells then

and so on...

 

可是我不知道那个事件的时候,怎么去实现,"选中的展开,其他都收缩"这种德行呢?

谁知道,说一声。

 

有思路了。但是没有去试。有空再说吧。

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
cxGrid网格的展开,收起
Excel259个常用宏
动态创建列 开发经验与技巧宝典/29/1006
使用vlookup查找时,如果有重复值,怎样返回第二个查到的值呢?
cxGrid的实现鼠标拖动多选
cxDBPivotGrid对应的栏位名称
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服