I have an <ig-grid> I am using and I want to validate the cells using validatiorOptions' checkValue event.
Here is my set up of 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>
Here is the corresponding checkValue function
Controller:
$scope.shiftIDValidator = function (e, u) { console.log('Validator Called');
}
What is the proper way to use checkValue in the igniteui-angular format?
Thanks!
Julie
Hello Julie,
This matter has been determined to be a development issue and has been logged in our tracking system with ID: 181258.
Our developers have resolved this and have updated the github files. If you re-download our igniteui-angular files your current code will handle the checkValue event correctly.
You can download our IgniteUI Angular files here:
https://github.com/IgniteUI/igniteui-angular
Please let me know if you have any further questions with this.