DevExpress XtraGrid RepositoryItemButtonEdit event is not firing

Set the gvPrompt.OptionsBehavior.Editable property to true. Then, set each column’s (except the column with the ButtonEdit) GridColumn.OptionsColumn.AllowEdit property to false. It allows the column with the ButtonEdit to be editable and the editor’s buttons to be “clickable”.
Please also remove the this.gvPrompt.OptionsBehavior.EditorShowMode = DevExpress.Utils.EditorShowMode.Click; line. It allows the button edit to react on mouse click immediatelly instead of focusing cell first.

Alıntı:http://stackoverflow.com/questions/16831600/devexpress-xtragrid-repositoryitembuttonedit-event-is-not-firing

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: