Our pure JavaScript Scheduler component


Post by sachidanand »

Hi Team ,

The one way to load data using crudManager is as follows:
AttachmentName: CrudManagerUsingUrl

But I want to use loadCrudManagerData function to load my data because the web service is not returning the data in the format that crudManager expects . So , I want to do some modification to the data and then pass the data to crudManager to render it . I am using "loadCrudManagerData" in the following format , but it's not loading the data . Could you please help me where I am going wrong ? (with examples)
AttachmentName: CrudManager_LoadCrudManagerData

Attachments
CrudManager_LoadCrudManagerData.PNG
CrudManager_LoadCrudManagerData.PNG (21.51 KiB) Viewed 276 times
CrudManagerUsingUrl.PNG
CrudManagerUsingUrl.PNG (18.76 KiB) Viewed 276 times

Post by arcady »

loadCrudManagerData should not return data. It's supposed to accept it as an argument:

crudManager.loadCrudManagerData({
    resources : [
        { id : 1, name : 'John' }
    ]
})

Post Reply