Hi guys,
I am new at jqgrid and jquery in general. I am following the demo examples and trying to display json data in a grid. I have managed to do that, but I face two major problems.
(1)
The columns sorting doesn't seem to work. As far as I have understood reading the documentation, sortable:true is the default param, so I suppose I must not add something else to achieve sorting. The same problem appears even if I use xml datatype, but everything is ok if I use local datatype (and fill grid with static values)
(2)
The pager doesn't operate appropriately. Althought I set rowNum to 10, if the returned results are, let's say 24 (I am using a REST web service to get the json file), all the 24 rows will be displayed in one page, instead of three.
My json file has the following format:
{
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top