Results 1 to 4 of 4

Thread: Sorting Columns With pagination

  1. #1

    Default Sorting Columns With pagination

    Hello,
    I've just finish my first little application based on grid tutorial with PHP and mySQL (see my previous post), but... sorting column, this is applied only on current page not on all rows in database table (yes I know - client side), but how I can force reload data with new order based on hedaer column click ?
    Alberto

  2. #2
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246

    Default

    You need to set remoteSort:true and have your server handle the sort and dir parameters.

  3. #3

    Default

    Thank You for suggestion. I'll try..
    Alberto.

  4. #4

    Default

    When u set remoteSort:true, you can get column name and sort order (asc or dsc) from the request, append them in the query and acheive the desired results.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •