rhennink Posted January 21, 2017 Share 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();'); Link to comment Share on other sites More sharing options...
Sherzod Posted January 22, 2017 Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now