kaddek bayu
kaddek bayu

Reputation: 1

Why can't I find a event for cell mouse click in grid control devexpress?

What's the replacement event? What's the code for selecting data in grid control and put the data to textedit?

Sorry I'm a newbie..

Upvotes: 0

Views: 223

Answers (1)

Marc
Marc

Reputation: 3959

Check out the events of your GridView instance, not the events from the grid control itself. Every grid control can have multiple Views and there is one by default (gridView1).

There are lots of other events. The one you need is RowCellClick.

private void gridView1_RowCellClick(object sender, RowCellClickEventArgs e)
{
    someTextEditControl.EditValue = e.CellValue;
}

Upvotes: 1

Related Questions