fix row_cell not trigger in gridview devexpress

0 thích 0 không thích
9 lượt xem
đã hỏi 27 Tháng 4, 2018 trong Devexpress bởi nguyenthao (9,000 điểm)
sửa nội dung 27 Tháng 4, 2018 bởi nguyenthao
gridView1.OptionsBehavior.Editable = false; // disable editing
gridView1.RowCellClick += gridView1_RowCellClick;

Get datarow from gridview devexpress

 DataRow row = (gridView1.GetRow(e.RowHandle) as DataRowView).Row;

MessageBox.Show(row["Column1"] as string + "|" + row["Column2"] as string + "|" + row["Column3"] as string);

Looking for an answer?  Share this question:     

Xin vui lòng đăng nhập hoặc đăng ký để trả lời câu hỏi này.

...