Forum Discussion
VisualUpdate doesn't fire in custom visual when switching from reading to edit mode
HI Master_T,
I think this function is working as expected.
When you enter editor mode, power bi only needs to loop current report contents and set them editable.
For these parts of operations, power bi did not require to consider to keep/reset current changes so power bi hasn't reloaded and reset the report content and changes. (the update function not triggered)
When you try to exit the edit mode, power bi needs to confirm if you keep or reject these changes. (both two choices will invoke the update features)
Regards,
Xiaoxin Sheng
- Master_T4 years agoHelper I
That's all well and good... but what if I want to show a slighlty different UI depending on whether the visual is in reading or edit view? I want to show an extra button in my visual if I am in edit mode, but if it is "working as intended" there is no way to detect if I'm entering edito mode... not a very smart implementation if that is the case, in my opinion.
- Anonymous4 years agoNot applicable
HI Master_T,
Perhaps you can submit an idea for improving this update function and feature usage to help achieve your requirement.
Microsoft Power BI ideas
Regards,Xiaoxin Sheng