N.Marzio Posted January 31, 2022 Share Posted January 31, 2022 Good evening, within a mobile project I added a frame containing TUnimCalendarPanel. Now when starting the application I find the attached error. What is the cause? Thank you Link to comment Share on other sites More sharing options...
Sherzod Posted February 1, 2022 Share Posted February 1, 2022 Hello, Which build are you using? Could you please make a simple testcase to check? Link to comment Share on other sites More sharing options...
N.Marzio Posted February 1, 2022 Author Share Posted February 1, 2022 I am currently using version 1.90.0.1543 Opening your demo Touch \ calendar Panel, this is not the problem exists Link to comment Share on other sites More sharing options...
N.Marzio Posted February 1, 2022 Author Share Posted February 1, 2022 why the call does not work on TUnimCalendarPanel calCalendar.JSInterface.JSCall ('setView', ['day']); while on TUniCalendarPanel it works correctly? Thank you Link to comment Share on other sites More sharing options...
Sherzod Posted February 1, 2022 Share Posted February 1, 2022 6 minutes ago, N.Marzio said: why the call does not work on TUnimCalendarPanel calCalendar.JSInterface.JSCall ('setView', ['day']); while on TUniCalendarPanel it works correctly? Link to comment Share on other sites More sharing options...
N.Marzio Posted February 1, 2022 Author Share Posted February 1, 2022 Sorry but on mobile project it doesn't work ... Link to comment Share on other sites More sharing options...
Sherzod Posted February 1, 2022 Share Posted February 1, 2022 I will check. Link to comment Share on other sites More sharing options...
Sherzod Posted February 1, 2022 Share Posted February 1, 2022 I couldn't reproduce. Works for me. Could you make a simple testcase to check? Link to comment Share on other sites More sharing options...
N.Marzio Posted February 1, 2022 Author Share Posted February 1, 2022 I try to attach the frame Link to comment Share on other sites More sharing options...
Sherzod Posted February 1, 2022 Share Posted February 1, 2022 Okay. Make a simple testcase if possible. Link to comment Share on other sites More sharing options...
N.Marzio Posted February 1, 2022 Author Share Posted February 1, 2022 How can I hide this button? Link to comment Share on other sites More sharing options...
N.Marzio Posted February 1, 2022 Author Share Posted February 1, 2022 7 minutes ago, Sherzod said: Okay. Make a simple testcase if possible. Frame.7z Link to comment Share on other sites More sharing options...
Sherzod Posted February 1, 2022 Share Posted February 1, 2022 7 minutes ago, N.Marzio said: Frame.7z 2.41 kB · 0 downloads Please attach test app. Link to comment Share on other sites More sharing options...
N.Marzio Posted February 1, 2022 Author Share Posted February 1, 2022 7 minutes ago, Sherzod said: Please attach test app. I attach the demo TestApp.7z Link to comment Share on other sites More sharing options...
Sherzod Posted February 1, 2022 Share Posted February 1, 2022 35 minutes ago, N.Marzio said: How can I hide this button? function beforeInit(sender, config) { config.defaultView = 'day'; config.createButton = { hidden: true }; config.compactOptions = { createButton: { hidden: true } }; } Link to comment Share on other sites More sharing options...
Sherzod Posted February 1, 2022 Share Posted February 1, 2022 20 minutes ago, N.Marzio said: TestApp.7z 5.15 MB · 0 downloads You correctly noted, you are using this code incorrectly, comment this code! // This is the problems.......... //calCalendar.JSInterface.JSCall('setView', 'day'); Link to comment Share on other sites More sharing options...
N.Marzio Posted February 1, 2022 Author Share Posted February 1, 2022 17 minutes ago, Sherzod said: You correctly noted, you are using this code incorrectly, comment this code! // This is the problems.......... //calCalendar.JSInterface.JSCall('setView', 'day'); If I have to switch from day to week view, how should I proceed? Link to comment Share on other sites More sharing options...
Sherzod Posted February 2, 2022 Share Posted February 2, 2022 10 hours ago, N.Marzio said: If I have to switch from day to week view, how should I proceed? Hello, For mobile: calCalendar.JSInterface.JSCall('getView().setView', ['day']); // 'week', 'month' 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