You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the tutorial, both in the written explanation and the accompanying example, the setValidator method returns a function which takes a series of arguments in the following order: function(newValue, oldValue, rowEntity, colDef).
In the tutorial, both in the written explanation and the accompanying example, the setValidator method returns a function which takes a series of arguments in the following order:
function(newValue, oldValue, rowEntity, colDef)
.However, from my experience using this method, this is incorrect, and should instead be:
function(oldValue, newValue, rowEntity, colDef)
. This would appear to be consistent with how thevalidatorFactory
is used in the source as well: https://github.com/angular-ui/ui-grid/blob/93c9d0b/src/features/validate/js/gridValidate.js#L380The text was updated successfully, but these errors were encountered: