I am creating a demo project in wpf application I am also using DevExpress GridControl in this application my problem is that I want get the cell value in on click particular cell.
Asked
Active
Viewed 2,981 times
3
-
You should post this in DevExpress forums, They can answer this quickly http://www.devexpress.com/Support/Center/ – Sivakumar Jul 24 '13 at 11:36
1 Answers
2
I think you should look at the HitInfo
class.
Try this link.
GridHitInfo hitInfo = gridView1.CalcHitInfo(new Point(e.X, e.Y));
if(hitInfo.InRowCell){
object value = View.GetRowCellValue(hitInfo.RowHandle, hitInfo.Column);
//...
}

Fares
- 542
- 1
- 7
- 17
-
Hi CalcHitInfo only works with the GridView and not the GridControll – Billybonks Aug 19 '13 at 10:49
-
1You can access the view of your `GridControl` through `gridControl1.MainView` (for instance) – Fares Aug 19 '13 at 12:08
-
-
i checked for the MainView property in the control http://documentation.devexpress.com/#windowsforms/DevExpressXtraGridGridControlMembersTopicAll – Billybonks Aug 21 '13 at 09:59