Skip to content

Commit

Permalink
fix(Grid): Allow >45k row identities
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
c0bra committed Jul 22, 2015
1 parent 8f1dc7e commit d533200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/core/services/ui-grid-util.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ function getLineHeight(elm) {
return parseInt( getStyles(parent).fontSize ) || parseInt( getStyles(elm).fontSize ) || 16;
}

var uid = ['0', '0', '0'];
var uid = ['0', '0', '0', '0'];
var uidPrefix = 'uiGrid-';

/**
Expand Down

0 comments on commit d533200

Please sign in to comment.