首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > .NET >

请教如何获得cxDBPivotGrid当前点击的Cell数值

2013-03-12 
请问怎么获得cxDBPivotGrid当前点击的Cell数值?查了资料,只有 delphi的Focused Cell本身所在Row位置(Y軸):

请问怎么获得cxDBPivotGrid当前点击的Cell数值?
查了资料,只有 delphi的
  
  Focused Cell本身所在Row位置(Y軸):
  cxDBPivotGrid1.ViewData.FocusedCell.Y
 
  Focused Cell所在Column位置(X軸):
  cxDBPivotGrid1.ViewData.FocusedCell.X
  
  取得Focus Cell本身的值:
  cxDBPivotGrid1.ViewData.CellsAsText[cxDBPivotGrid1.ViewData.FocusedCell.Y,cxDBPivotGrid1.Vie
  
  但是现在项目要用 BCB
  
 (1)怎么用BCB的代码获取焦点的cell数值以及当前焦点行指定字段的数值?
 (2) 怎么导出 cxDBPivotGrid1 到 excel ? 
[解决办法]
http://martian6125.blog.163.com/blog/static/1421729320127710503773/

热点排行