How to call events in DevExtreme

9 views
Skip to first unread message

Frank Mehlhop

unread,
Mar 16, 2018, 9:40:37 AM3/16/18
to Angular and AngularJS discussion
Hey,

i use a SelectBox from DevExtreme
When the user is leaving the SelectBox I will get a event.
I gaz "focusOut" will be the right on.
So I implement the call like that:
<dx-select-box [dataSource]="languages" displayExpr="Name" valueExpr="ID" [value]="cookieLanguage" fieldTemplate="field"
(onFocusOut)="onSelectLanguageFocusOut()">

Inside the myCom.component.ts, 
and in the MyCom -class I write:
onSelectLanguageFocusOut() {
alert('hu');
}

The alert is never called.
I tryed the same with "onChanged" and this also is not working.

Why this event does not work?

Thanks for help!
Frank

Sander Elias

unread,
Mar 16, 2018, 9:45:35 AM3/16/18
to Angular and AngularJS discussion
Hi Frank,

Did you try without the `on` part of the event?

regards
Sander

Frank Mehlhop

unread,
Mar 16, 2018, 9:49:21 AM3/16/18
to Angular and AngularJS discussion
After restarting the process it works (with out changes).

Thanks, Frank
Reply all
Reply to author
Forward
0 new messages