Vyasdev Meledath
Vyasdev Meledath

Reputation: 9016

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 grid, 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.

alt text

Upvotes: 1

Views: 2059

Answers (2)

DevExpress Team
DevExpress Team

Reputation: 11376

You may use the gridView.ActiveEditor property to get a reference of the currently open editor. It is available within the CellValueChanged event handler.

Upvotes: 1

Jamie Altizer
Jamie Altizer

Reputation: 1542

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.

Upvotes: 0

Related Questions