Skip to content

Commit d533200

Browse files
committed
fix(Grid): Allow >45k row identities
The hash-keying setup was only allowing 3 places alphanumeric values. 36^3 is 46656. With 4 places we can handle 1,679,616 row identities.
1 parent 8f1dc7e commit d533200

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/core/services/ui-grid-util.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ function getLineHeight(elm) {
160160
return parseInt( getStyles(parent).fontSize ) || parseInt( getStyles(elm).fontSize ) || 16;
161161
}
162162

163-
var uid = ['0', '0', '0'];
163+
var uid = ['0', '0', '0', '0'];
164164
var uidPrefix = 'uiGrid-';
165165

166166
/**

0 commit comments

Comments
 (0)