Show loading screen while submiting form.

Hi to all,

I want to show the load screen (progress bar) in schedule ,Form within window and while form submitting but nothing is working properly.

1-Scheduler

I want to show the loading screen while loading data in scheduler and that’s why i set in scheduler configuration

scheduler.config.show_loading = true;

It shows the loading screen but keep loading it should be hide after loading

For loading i am using this function

scheduler.load('Path',"json");

2-Form loading

On clicking scheduler cell a window is opening and in that window form i am loading 3 ajax call to load the data so i want to show the load screen untill all the data load.

window.progressOn();

Progress bar for window also keep loading and it just showing that data is load it does not stop anyone to click before loading

3-Form submit

I also want to show the progress bar while form submit and after submit hide the loading screen.

For submit form data i am using

objCustomerServicesWorkorderForm.send('path',function(loader, response) {
} 

Any help

thanks

The only case, how it can occurs - there was a js error during json parsing which prevented loading end processing. Please be sure that loaded data is a vaild json

Thanks for quick response.

Here is the json

[{"id":385,"start_date":"2013-03-12 12:00:00","end_date":"2013-03-12 13:00:00","text":"test123 demo","section_id":5,"color":"#E6071A"},{"id":386,"start_date":"2013-03-12 09:00:00","end_date":"2013-03-12 10:00:00","text":"John hopkins","section_id":5,"color":"#E6071A"},{"id":387,"start_date":"2013-03-12 16:00:00","end_date":"2013-03-12 17:00:00","text":"test123 demo","section_id":"-1","color":"#E6071A"},{"id":388,"start_date":"2013-03-12 16:00:00","end_date":"2013-03-12 17:00:00","text":"test123 demo","section_id":7,"color":"#E6071A"},{"id":390,"start_date":"2013-03-12 09:00:00","end_date":"2013-03-12 10:00:00","text":"test123 demo","section_id":7,"color":"#E6071A"},{"id":391,"start_date":"2013-03-12 09:00:00","end_date":"2013-03-12 10:00:00","text":"test123 demo","section_id":"-1","color":"#E6071A"},{"id":392,"start_date":"2013-03-12 12:00:00","end_date":"2013-03-12 13:00:00","text":"test123 demo","section_id":"-1","color":"#E6071A"},{"id":393,"start_date":"2013-03-12 19:00:00","end_date":"2013-03-12 20:00:00","text":"test123 demo","section_id":"-1","color":"#E6071A"},{"id":394,"start_date":"2013-03-12 12:00:00","end_date":"2013-03-12 13:00:00","text":"dsf sdf","section_id":7,"color":"#E6071A"},{"id":395,"start_date":"2013-03-12 19:00:00","end_date":"2013-03-12 20:00:00","text":"test123 demo","section_id":7,"color":"#E6071A"},{"id":396,"start_date":"2013-03-12 19:00:00","end_date":"2013-03-12 20:00:00","text":"test123 demo","section_id":5,"color":"#E6071A"},{"id":397,"start_date":"2013-03-12 14:00:00","end_date":"2013-03-12 15:00:00","text":"John hopkins","section_id":"-1","color":"#E6071A"},{"id":398,"start_date":"2013-03-13 15:00:00","end_date":"2013-03-13 16:00:00","text":"John hopkins","section_id":"-1","color":"#E6071A"},{"id":399,"start_date":"2013-03-13 11:00:00","end_date":"2013-03-13 12:00:00","text":"test123 demo","section_id":7,"color":"#E6071A"},{"id":400,"start_date":"2013-03-13 13:00:00","end_date":"2013-03-13 14:00:00","text":"test123 demo","section_id":7,"color":"#E6071A"},{"id":401,"start_date":"2013-03-13 15:00:00","end_date":"2013-03-13 16:00:00","text":"test123 demo","section_id":7,"color":"#E6071A"},{"id":402,"start_date":"2013-03-13 14:00:00","end_date":"2013-03-13 15:00:00","text":"test123 demo","section_id":7,"color":"#E6071A"}]

JSON data looks valid, unfortunately I can’t reconstruct the same issue locally, can you provide any kind of demo link or standalone sample where problem can be reconstructed.

hi

please explain p.2 and p.3 more detailed?