sam1980s

Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Author
    Replies
  • sam1980s
    Participant

    Thanks Tony.

    This solution worked.

    Regards,

    Sam

    in reply to: Using jqGrid with ASP.NET MVC: A Tutorial #87006
    sam1980s
    Participant
    in reply to: Using jqGrid with ASP.NET MVC: A Tutorial #86999
    sam1980s
    Participant

    I have one more question. which i have already added as a new topic but adding it below as well.

    Using Client Side Sorting But Server Side Paging using JQGrid

    Hi,

    1. Requirement :
    In my project most of grids need to have client side sorting . so lets say i have 10 records on client side when i sort only those 10 records will be sorted.
    But I need server side paging.

    Solution :
    I can achieve this by using loadonce : true in jqgrid. And providing some other server side pager control.

    Problem :
    1. Can I achive client side sorting and server side paging both using JQGrid.

    2. When i set the load once to true the paging gets disabled. I wants to provide some kind of jquery paging also. So when i click on next page it will fetch the next say 10 records from the server.

    Regards,

    Sam

    in reply to: Using jqGrid with ASP.NET MVC: A Tutorial #86998
    sam1980s
    Participant

    Hi Thanks for reply.

    I am able to pass parameter to Controller method by defining it with filter model property.

    like as below

    filterModel: [{
    label: ‘Search’,
    name: ‘search’,
    stype: ‘text’
    },
    {
    label: ‘Search1’,
    name: ‘search1’,
    stype: ‘text’
    }

    Regards,

    Sam

    in reply to: Using jqGrid with ASP.NET MVC: A Tutorial #86966
    sam1980s
    Participant

    Hi,

    I checked and found out the solution this artical provides contains method signature as below.

    public ActionResult GridData(string sidx, string sord, string search, int page, int rows)

    But in the default JQGrid the method signature is only

    public ActionResult GridData(string sidx, string sord, int page, int rows)

    Can anybody please help me understanding where we need to make changes to pass the search criterias in the ActionResult as method parameters rather then the request objects.

    Regards,

    Sam

Viewing 5 replies - 1 through 5 (of 5 total)

Stay connected with us in your favorite flavor!