picoe / Eto

Cross platform GUI framework for desktop and mobile applications in .NET
Other
3.66k stars 333 forks source link

CheckBoxCell event not fired #647

Open TomQv opened 7 years ago

TomQv commented 7 years ago

This is a funny behaviour of the checkbox in a CheckBoxCell as a column in a TreeGridView .

I was expecting, that clicking a checkbox would not change the selected item and that the event would be fired immidiatly. Tested on winForms and Wpf.

cwensley commented 7 years ago

This is unfortunately the default behaviour for these controls. There may be a way to customize it, at least on WPF. Thanks for the feedback!

TomQv commented 7 years ago

you mean, that the event is not fired is normal?

cwensley commented 7 years ago

You said the event (setting the value) is not fired immediately, which is what I am seeing as well but it does get set when it loses focus. Are you saying that the event is never fired and you model isn't updated?

TomQv commented 7 years ago

The event is fired, when it loses focus. This is at least very much unexpected.

cwensley commented 7 years ago

Ok, thanks for the clarification. I'm not sure about the first part of this issue, where you do not expect the selection to change (though needs investigation), but at least the second part should be able to be done.