rhennink Posted January 21, 2017 Posted January 21, 2017 Hi, I'm now using this in Delphi-COde to set the activeview of a Calendar component. UniSession.AddJS(calCalendar.JSName + '.setActiveView(0);'); Wat is the oppositie to read the Activeiew (function is called GetActiveView) xxxxxxJS(calCalendar.JSName + '.getActiveView();'); Quote
Sherzod Posted January 22, 2017 Posted January 22, 2017 Wat is the oppositie to read the Activeiew (function is called GetActiveView) xxxxxxJS(calCalendar.JSName + '.getActiveView();'); Hi, You can use viewchange function for this, and use OnAjaxEvent UniCalendarPanel1 -> ClientEvents -> ExtEvents -> function viewchange: function viewchange(sender, view, info, eOpts) { ajaxRequest(sender, '_viewchange', ['xtype='+view.xtype]); } Best regards. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.