How to get particular cell value in DevExpress GridControl using wpf
How to get particular cell value in DevExpress GridControl using wpf
766908-Aug-2013
Home / DeveloperSection / Forums / How to get particular cell value in DevExpress GridControl using wpf
shreesh chandra shukla
09-Aug-2013You can write below code under the PreviewMouseLeftButtonUp event.
TableViewHitInfo hit= tableView1.CalcHitInfo(e.OriginalSource as DependencyObject);
if(hit.InRowCell)
{
var row=gridControl.GetFocusedRow();
data _data=(data)row;
if(hit.Column.FieldName==”Name”)
{
MessageBox.Show(_data.Name.ToString());
}
}
thanks.