How to get checkBox object from c# Xtragrid column
Hi all,
I'm using DevExpress XtraGrid control in a C#.Net application. I'mbinding the values from one table to a gri开发者_JAVA百科d, and the table contains one bit field: Authorized
. So the grid displays that column with a checkBox. I want to get that checkBox object or get the event of that control.
You may use the gridView.ActiveEditor property to get a reference of the currently open editor. It is available within the CellValueChanged event handler.
Why don't you try using the CellValueChanged or CellValueChanging events tied to the view? You can use the IDE's property list to wire it up and inside the event use the event args to decide which column you wish to act upon.
精彩评论