Getting Value of DevExpress XtraGrid Column

The GetRowCellValue method is used to get the value of a desired column in the selected row in DevExpress XtraGrid.

Example usage is given below..

listDataView.GetRowCellValue(i, "TestColumn1").ToString();

i is the "row index".



You May Interest

DevExpress XtraGrid Setting Color of Selected Row

DevExpress XtraGrid Selecting Only Cell on Row Click

Closing DevExpress XtraGrid Group Panel

DevExpress XtraGrid Cell Text Settings by Column

DevExpress XtraGrid Display Count