DevExtreme Vue - Call Methods
To call a UI component method, you can apply techniques described in the Call Methods topic for jQuery.
As an alternative, you can save the UI component instance in a view model property once the UI component is initialized...
JavaScript
var viewModel = { menuInstance: {}, menuOptions: { // ... onInitialized: function (e) { viewModel.menuInstance = e.component; } } }; ko.applyBindings(viewModel);
... and call any method of the saved instance afterwards.
JavaScript
viewModel.menuInstance.repaint();
See Also
Feel free to share topic-related thoughts here.
If you have technical questions, please create a support ticket in the DevExpress Support Center.
Thank you for the feedback!
If you have technical questions, please create a support ticket in the DevExpress Support Center.