I am currently working with an igniteui-angluar <ig-grid>
and I am interested in validating cells using the checkValue event within the validatorOptions framework.
Below is my configuration for the features section:
HTML:
<features>
<feature name="Updating"
event-edit-row-ending="shiftBindHandler"
event-row-adding="addRowHandler">
<column-settings>
<column-setting column-key="ShiftID">
<editor-options type="text" max-length="4">
<validator-options event-check-value="shiftIDValidator">
</validator-options>
</editor-options>
</column-setting>
</column-settings>
</feature>
...
</features>
The following function corresponds to the checkValue functionality:
Controller:
$scope.shiftIDValidator = function (e, u) {
console.log('Validator Called');
}
I would appreciate any guidance on how to correctly utilize checkValue in the igniteui-angular format. The resources available on this topic seem limited, with this paragraph being the main reference I could find.
Thank you!
Julie