if (idx === 0) {
this.columns.unshift(col);
} else {
- this.columns.splice(idx - 1, 0, col);
+ this.columns.splice(idx, 0, col);
}
return true;
}
overflowCells: boolean;
showLinkSelectors: boolean;
disablePaging: boolean;
+ showDeclaredFieldsOnly: boolean;
// Allow calling code to know when the select-all-rows-in-page
// action has occurred.
}
}
+ if (this.showDeclaredFieldsOnly) {
+ col.hidden = true;
+ }
+
this.columnSet.add(col);
});
}