mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 12:56:46 +08:00
Merge pull request #19764 from lruckman/patch-2
[react-data-grid] Added openCellEditor signature to ReactDataGrid ins…
This commit is contained in:
7
types/react-data-grid/index.d.ts
vendored
7
types/react-data-grid/index.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user