Disable Sorting in Advanced Grid

Introduction 

You can disable sorting on an Advanced Grid with a Custom HTML inserted on your Form.

How does it work?

To insert the Custom HTML, follow the steps below:

  1. Open the Form with the Advanced Grid you want to edit.
  2. Add a Custom HTML.
  3. Input the following script
    <script>
        $(document).ready(function(){
            $('.pq_grid').pqGrid('option','sortable',false);
        })
    </script>
  4. Preview your Form to confirm the change.

Now, if you try to click on any of the table's column names, you will not be able to sort it since Javascript has disabled it. 

Download sample app

Download the sample app to Disable Sorting in Advanced Grid:
Created by Marcos Last modified by Aadrian on Dec 13, 2024