Adding one kendoWindow for all Views

Posted by Dennis on 15-Dec-2017 06:39

Hello together, 

Is there any functionality in the UI Builder that allows me to define one kendoWindow and use this in every view? And with that window i need to have access to the the datasource for the view who I'm actually working with. 

For example a customer search window that I can use in mulitple views. But in every view the functionality in the Business Logic can be different.

All Replies

Posted by Radoslav Kirilov on 15-Dec-2017 07:39

Hi,

You can define your own custom component which has the described functionality and drop it in every blank view. More about custom component templates you can find here:

https://community.progress.com/community_groups/openedge_kendo_ui_builder/w/openedgekendouibuilder/2937.how-to-use-custom-templates-in-kendo-ui-builder

Please note that these templates are available in 2.0.1 version of the product.

The other option is to create a service which listen on broadcasted event message (which you can throw with different arguments from every view where you need such window) and show the custom window directive with described logic into its controller. More about custom services in custom modules in the generated app you can find here:

https://community.progress.com/community_groups/openedge_kendo_ui_builder/w/openedgekendouibuilder/2924.how-to-add-a-custom-module-and-service-in-kendo-ui-builder-2-0

Please give the suggestions try and let me know if they work for you.

Best,

Rado

This thread is closed