File tree 3 files changed +11
-1
lines changed
3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import * as React from "react";
2
2
import { GridHeader } from "./gridHeader" ;
3
3
import { GridBody } from "./gridBody" ;
4
4
import { GridFooter } from "./gridFooter" ;
5
- import { polyfills } from "./plyfills " ;
5
+ import { polyfills } from "./polyfills " ;
6
6
7
7
export interface Column extends ColumnSetting {
8
8
groupIndex ?: Readonly < number >
File renamed without changes.
Original file line number Diff line number Diff line change @@ -38,4 +38,14 @@ export class Utils{
38
38
return obj [ key ] ;
39
39
}
40
40
}
41
+
42
+ public static stringRandom ( chars : number ) : string {
43
+ let text = "" ;
44
+ let possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" ;
45
+
46
+ for ( let i = 0 ; i < chars ; i ++ )
47
+ text += possible . charAt ( Math . floor ( Math . random ( ) * possible . length ) ) ;
48
+
49
+ return text ;
50
+ }
41
51
}
You can’t perform that action at this time.
0 commit comments