on 03-20-2019 5:42 PM
Hi, can you help me anybody with max row limit in planning calendar. I have read in guidelines that I can use it for less than 100 lines. Then it's better to use Gantt chart. But now it's necessary for me to use planning calendar. Is it possible to increase this limit anywhere in this component. I didn't find any constant in source code.
Thanks for answers.
Jaromir
Hi Jaromír,
If we're talking about planning calendar rows, you can surely increase the size limit for your JSONModel. If you don't set it, the default size will be 100, so you can only see top 100 records in your calendar.
Set the size limit as you like;
this.getView().getModel("yourJSONModel").setSizeLimit(1000);
But for the appointments / intervalHeaders;
It seems like, each row/person can have up to 100 appointments/intervalHeaders. Because of this, I'm fetching the data for every "startDateChange" event in my application.
Thanks,
Zafer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jaromir,
Thanks for the quick reply.
Actually we have an issue with the appointment. We have a requirment to show more than 100 appointments for a row in the planning calendar. Is that possible? your advice will be really helpful.
Thanks in Advance,
Best Regards,
Dineshkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for coming to SAP Community for answers. Please post your question as a new question here:
Since you're new in asking questions here, check out our tutorial about asking and answering questions (if you haven't already), as it provides tips for preparing questions more effectively, that draw responses from our members.
Please note, that your post here won't be answered.
I dont know, because I change calendar for reservation rooms, rooms were rows in my app and appointment was only one(free x occupied), but I think that setSizeLimit resolved your problem too. You can increase the model size. You can sum up all items in your model and set limit. In other projects I tried increase up to 10000. It is not recommended as best practice, but it is functional.
Jaromir
I tried the solution given by zafer.onbas, but I was not able to increase the row limit of the planning calendar. Could you please suggest any other alternative to do the same.
Do single planning calendar also have this similar kind of restrictions (limit of 100 by default)?
And if yes, can you give any solution to overcome this issue in single planning calendar also.
I need solution for both planning calendar and single planning calendar.
Thanks and regards,
Kavya M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.