Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
490
Sort params not encoded when changing page size
posted

I have remote binding, sorting, and paging set up. I click on a column header to sort and it calls my DataSourceUrl with the sort column included in the sortParams. Once sorted if I change the pageSize (standard grid drop down - no changes) the encoded url no longer has the sortParams for the sorted column. The UI still shows the sort but the data is no longer sorted because it was not sent to the server in the query.

Thanks,

Steve

Parents
  • 490
    posted

    I have run into another issue with the PageSize. Not sure if it is related.

    If I change the PageSize to something else and then call $('#grid').igGrid('dataBind') the PageSize is thrown away and put back to the default value.

    In this scenario I am simply trying to get the grid to hit the controller again. The datasource object itself has not changed. The dataSource object itself has the correct pageSize as well until dataBind is called. If I re-set the same datasource it doesn't work either.

    Steve

  • 490
    posted in reply to Steve

    Anything?

Reply Children