above sentences are my all code. The pic I attach is data in personModel.user.UserInfos
1 Answer, 1 is accepted
answered on 22 May 2014, 04:00 PM
The setDataSource method of the Grid expects a dataSource object as a parameter. You could find an example included in the documentation.
The data method of the dataSource accepts an array as a parameter, so it is suitable for the current case. Calling the read method is not needed. Here is a small example, which demonstrates the approach.
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!