mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
Merge pull request #2489 from styfle/patch-6
Fix interface for getIdxById in SlickGrid
This commit is contained in:
commit
f6f58d62d6
2 files changed
+5
-1
No files matched your search
@@ -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