Probable Bug: Disable sort on 1st column

Probable Bug: Disable sort on 1st column

jrichviewjrichview Posts: 36Questions: 7Answers: 0

I've got a grid with quite a few columns. First column is only one I need to be NOT sortable so I pass false for "orderable" in colDefs:

        var colDefs = [
            { "targets": [0], "searchable": false, "orderable": false, "visible": true },
            // etc...

When the grid is initially rendered, the icons indicate it is sorted by 1st column. If you click on any other column sort arrows, the arrow in 1st column vanishes never to return. So the issue seems to be only with initial display.

To see this in action start at this page: http://floridahealthfindertest.cloudapp.net/HealthPlans/Default.aspx
1) Select "Quality of Care Indicators" (continue...)
2) Select "Commercial HMO" (continue...)
3) Next page click "View Results"

Replies

  • jrichviewjrichview Posts: 36Questions: 7Answers: 0

    You can work around this by setting default sort. But it still looks like a valid issue.

This discussion has been closed.