making jqgrid view generic for both collections and random lists
fixing jqgrid for collections on list view