diff --git a/slickgrid/slick.checkboxselectcolumn-tests.ts b/slickgrid/slick.checkboxselectcolumn-tests.ts
new file mode 100644
index 0000000000..48077239d2
--- /dev/null
+++ b/slickgrid/slick.checkboxselectcolumn-tests.ts
@@ -0,0 +1,42 @@
+///
+///
+///
+
+/**
+ * Extracted from https://github.com/mleibman/SlickGrid/blob/master/examples/example-checkbox-row-select.html
+ */
+
+var grid: Slick.Grid;
+var data: any[] = [];
+var options = {
+ editable: true,
+ enableCellNavigation: true,
+ asyncEditorLoading: false,
+ autoEdit: false
+};
+var columns: Slick.SlickData[] = [];
+$(function () {
+ for (var i = 0; i < 100; i++) {
+ // I'm not actually sure what this is supposed to be doing, but
+ // this is verbatim the example :/
+ var d: any = (data[i] = {});
+ d[0] = "Row " + i;
+ }
+ var checkboxSelector = new Slick.CheckboxSelectColumn({
+ cssClass: "slick-cell-checkboxsel"
+ });
+ columns.push(checkboxSelector.getColumnDefinition());
+ for (var i = 0; i < 5; i++) {
+ columns.push({
+ id: i,
+ name: String.fromCharCode("A".charCodeAt(0) + i),
+ field: i,
+ width: 100,
+ editor: Slick.Editors.Text
+ });
+ }
+ grid = new Slick.Grid("#myGrid", data, columns, options);
+ grid.setSelectionModel(new Slick.RowSelectionModel({ selectActiveRow: false }));
+ grid.registerPlugin(checkboxSelector);
+ var columnpicker = new Slick.Controls.ColumnPicker(columns, grid, options);
+})
diff --git a/slickgrid/slick.checkboxselectcolumn.d.ts b/slickgrid/slick.checkboxselectcolumn.d.ts
new file mode 100644
index 0000000000..639e24374b
--- /dev/null
+++ b/slickgrid/slick.checkboxselectcolumn.d.ts
@@ -0,0 +1,41 @@
+// Type definitions for SlickGrid CheckboxSelectColumn Plugin 2.1.0
+// Project: https://github.com/mleibman/SlickGrid
+// Definitions by: berwyn
+// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+
+///
+
+declare namespace Slick {
+ export interface SlickGridCheckBoxSelectColumnOptions extends PluginOptions {
+ /**
+ * Column to add the checkbox to
+ * @default "_checkbox_selector"
+ */
+ columnId?: string;
+
+ /**
+ * CSS class to be added to cells in this column
+ * @default null
+ */
+ cssClass?: string;
+
+ /**
+ * Tooltip text to display for this column
+ * @default "Select/Deselect All"
+ */
+ toolTip?: string;
+
+ /**
+ * Width of the column
+ * @default 30
+ */
+ width?: number;
+ }
+
+ export class CheckboxSelectColumn extends Plugin {
+ constructor(options?: SlickGridCheckBoxSelectColumnOptions);
+ init(grid: Slick.Grid): void;
+ destroy(): void;
+ getColumnDefinition(): Slick.ColumnMetadata;
+ }
+}
diff --git a/slickgrid/slick.columnpicker.d.ts b/slickgrid/slick.columnpicker.d.ts
new file mode 100644
index 0000000000..d9f3dac0df
--- /dev/null
+++ b/slickgrid/slick.columnpicker.d.ts
@@ -0,0 +1,20 @@
+// Type definitions for SlickGrid ColumnPicker Control 2.1.0
+// Project: https://github.com/mleibman/SlickGrid
+// Definitions by: berwyn
+// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+
+///
+
+declare namespace Slick {
+ export namespace Controls {
+ export interface SlickColumnPickerOptions {
+ fadeSpeed?: number;
+ }
+
+ export class ColumnPicker {
+ constructor(columns: Slick.Column[], grid: Slick.Grid, options: SlickColumnPickerOptions);
+ getAllColumns(): Slick.Column[];
+ destroy(): void;
+ }
+ }
+}