// Type definitions for SlickGrid HeaderButtons Plugin 2.1.0
// Project: https://github.com/mleibman/SlickGrid
// Definitions by: Derek Cicerone
// Definitions: https://github.com/borisyankov/DefinitelyTyped
///
declare module Slick {
export interface Column {
header?: Header;
}
export interface Header {
buttons: HeaderButton[];
}
export interface HeaderButton {
command?: string;
cssClass?: string;
handler?: Function;
image?: string;
showOnHover?: boolean;
tooltip?: string;
}
export interface OnCommandEventArgs {
grid: Grid;
column: Column;
command: string;
button: HeaderButton;
}
export module Plugins {
export class HeaderButtons extends Plugin {
constructor();
public onCommand: Event>;
}
}
}