Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
5250
How to set Click Event for the button when ColumnStyle is EditButton
posted

 Hi all

I am using ultraWinGrid 8.2
I set column like
this.ctlUltraGrid1.DisplayLayout.Bands[0].Columns[1].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.EditButton;
an it works, on every cell in this column I have a little button.

But how can I now set the event to this button ???
I have tried the following, but it did not work:
                Infragistics.Win.EditorWithText local_Editor = (Infragistics.Win.EditorWithText)this.ctlUltraGrid1.DisplayLayout.Bands[0].Columns[1].Editor;
                local_Editor.EditorButtonClick += new Infragistics.Win.UltraWinEditors.EditorButtonEventHandler(JustTest);

Thanks for any comment .

Best regards
Frank Uray