diff --git a/src/doby-grid.js b/src/doby-grid.js index 0c5ac99..8b4dbc6 100644 --- a/src/doby-grid.js +++ b/src/doby-grid.js @@ -454,6 +454,7 @@ selectedClass: "selected", shiftSelect: true, showHeader: true, + showSortIndicator: true, stickyFocus: false, stickyGroupRows: false, tooltipType: "popup", @@ -8344,7 +8345,7 @@ html.push('>'); html.push('' + column.name + ''); - if (column.sortable) { + if (column.sortable && self.options.showSortIndicator) { html.push(''); } @@ -10188,7 +10189,7 @@ * @private */ styleSortColumns = function () { - if (!self.options.showHeader) return; + if (!self.options.showHeader || !self.options.showSortIndicator) return; var headerColumnEls = $headers.children(); headerColumnEls