mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge pull request #2489 from styfle/patch-6
Fix interface for getIdxById in SlickGrid
This commit is contained in:
@@ -196,3 +196,7 @@ grid.setCellCssStyles("test", {
|
||||
}
|
||||
});
|
||||
|
||||
// Begin DataView tests
|
||||
var dataView = new Slick.Data.DataView<MyData>();
|
||||
var gridWithDataView = new Slick.Grid<MyData>('#grid2', dataView, columns, options);
|
||||
dataView.getIdxById('foo') + 5;
|
||||
|
||||
Vendored
+1
-1
@@ -1539,7 +1539,7 @@ declare module Slick {
|
||||
*/
|
||||
public expandGroup(...varArgs: string[]): void;
|
||||
public getGroups(): Group<T, any>[];
|
||||
public getIdxById(): string;
|
||||
public getIdxById(id: string): number;
|
||||
public getRowById(): T;
|
||||
public getItemById(id: any): T;
|
||||
public getItemByIdx(): T;
|
||||
|
||||
Reference in New Issue
Block a user