Sündmused
Power BI DataVizi maailmameistrivõistlused
14. veebr, 16 - 31. märts, 16
Nelja võimalusega siseneda, võiksite võita konverentsipaketi ja jõuda LIVE Grand Finale'i las Vegases
LisateaveSeda brauserit enam ei toetata.
Uusimate funktsioonide, turbevärskenduste ja tehnilise toe kasutamiseks võtke kasutusele Microsoft Edge.
The OnChange
event occurs in the following situations:
All columns support the OnChange
event. Data in the column is validated before and after the OnChange
event.
The OnChange
event does not occur if the column is changed programmatically using the attribute.setValue method. If you want event handlers for the OnChange
event to run after you set the value you must use the formContext.data.entity attribute.
fireOnchange method in your code. The OnChange
event also does not occur if the column is changed programatically when discarding changes if the user is navigating away from a dirty form.
Märkus
Although the Status column supports theOnChange
event, the column is read-only on the form so the event cannot occur through user interaction. Another script could cause this event to occur by using the fireOnchange method on the column.
Märkus
OnChange
events are synchronous. You should not use asynchronous code in an OnChange
event handler that needs an action to be taken or handled on the resolution of the async code. This causes issues if the resolution handler expects the app context to remain the same as it was when the asynchronous code was started. You should also not make synchronous network requests in an OnChange event handler. This can cause an unresponsive app.
There are three methods you can use to work with the OnChange
event for a column:
Columns (Client API reference)
Events (Client API reference)
Events in forms and grids in model-driven apps
Sündmused
Power BI DataVizi maailmameistrivõistlused
14. veebr, 16 - 31. märts, 16
Nelja võimalusega siseneda, võiksite võita konverentsipaketi ja jõuda LIVE Grand Finale'i las Vegases
Lisateave