Our flexible Kanban board for managing tasks with drag drop


Post by rodel.ocfemia »

Hi,

How would I know if the loading of data from the server has been completed already. Is there any existing event handler such as onLoadCompletion?

project: {
            transport: {
               load: {
                  url: 'myserver/data'
               }
            },
            autoLoad: true
         }

Post by tasnim »

Yes. An event available called load fires when the data loading is completed.
Please check the docs reference: https://bryntum.com/docs/taskboard/api/TaskBoard/model/ProjectModel#event-load

Example of how you can use it:

project : {
	....,
	listeners : {
		load() {
			// Write your logic here
		}
	}
}

You can find all of the events about projectModel here: https://bryntum.com/docs/taskboard/api/TaskBoard/model/ProjectModel#events

All the best,
Tasnim


Post by rodel.ocfemia »

Thank you


Post Reply