i am having trouble with the direct grid, it is calling the server side code and returning the data as well, but the data is not able to bind with the grid, i have try both the version 3 and 4.0.1.

in vesrion 3 it simply donnot show any error but also not show the data, with version 4 it throw the error on me.getTotal(data) line 25314 and also on other functions me.getSuccess(data) and me.getMessage(data);

i thought the issue is with the data but i try to response the data in different format like,

[[1, 'B', 'A', 'A', 'A', 'A', 'A', 'A', 'A']]

or

['total': 1,'offset': 0,'Company': [['Id':'1', 'Country':'A', 'City':'A', 'Company':'A', 'Title':'A', 'Discount':'A', 'BuyersCount':'A', 'StartDate':'A', 'EndDate':'A']]]

but no benefit at all

any help would be appreciated.


Thanks,