Fix interface for getIdxById in SlickGrid

It is clear by the name of this method that it takes an id (string) and returns and index (number).
This commit is contained in:
Steven
2014-07-09 16:08:20 -07:00
parent b3ffb84c7e
commit ff9365dc08
+1 -1
View File
@@ -1539,7 +1539,7 @@ declare module Slick {
*/
public expandGroup(...varArgs: string[]): void;
public getGroups(): Group<T, any>[];
public getIdxById(): string;
public getIdxById(string): number;
public getRowById(): T;
public getItemById(id: any): T;
public getItemByIdx(): T;