Merge pull request #19764 from lruckman/patch-2

[react-data-grid] Added openCellEditor signature to ReactDataGrid ins…
This commit is contained in:
Benjamin Lichtman
2017-09-19 10:15:42 -07:00
committed by GitHub

View File

@@ -437,7 +437,12 @@ declare namespace AdazzleReactDataGrid {
* Excel-like grid component built with React, with editors, keyboard navigation, copy & paste, and the like
* http://adazzle.github.io/react-data-grid/
*/
export class ReactDataGrid extends React.Component<GridProps> { }
export class ReactDataGrid extends React.Component<GridProps> {
/**
* Opens the editor for the cell (idx) in the given row (rowIdx). If the column is not editable then nothing will happen.
*/
openCellEditor(rowIdx: number, idx: number): void;
}
export namespace ReactDataGrid {
// Useful types
export import Column = AdazzleReactDataGrid.Column;