Our blazing fast Grid component built with pure JavaScript


Post by gregc »

Reading this document https://www.bryntum.com/docs/grid/#guides/data/ajaxstore.md
I setup my store

store : {
        readUrl : 'Welcome.do?actionRefId=240',  
autoLoad : true }

and returned data

 [ { id: '1',f0: '',f1: 'Blah'},
]

but it doesn't like id, throwing an error with the character i.

I would like to point out that in order to get it working I need to return the data in the format

[ { "id": "1","field1": "144","field2": "Jack", "field3": "Black","field4":"Films"}]

i.e. it needs to be valid JSON. Maybe the example in the documentation could reflect that better.


Post by mats »

Ok we'll add a note about this, good idea.


Post Reply