C# MVC2 Jqgrid - what is the correct way to do server side paging?

妖精的绣舞 提交于 2019-12-02 04:12:01
Oleg

You should post more full code. The model.ToGridData is not defined in the current code for example. How you caclulate index from the imput patrameters and so on are also unclear. Only having model.ToGridData() one can say whether the output which your program produce are correspond to the jsonReader which you define.

I recommend you to look this old answer, where both paging and sorting are used. In one more answer you will find more references to code examples.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!