Options for validating data in the igGrid component within igniteui-angular

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

Answer №1

Following up on the matter, Infragistics confirmed that it was indeed a bug. The suggested format for checkValue should now be functional. Here is their response:

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Using jQuery to set the background-image on the body's after pseudo-element with CSS

I am currently utilizing body:after for setting the page wallpaper. body:after { background-image: url('assets/img/wallpapers/<?php echo $getWallpaperFile; ?>'); } CSS content: ' '; display: block; position: absolute; left: ...

What steps can I take to make sure my JavaScript code accurately calculates numbers without resulting in undefined or NaN values?

I'm having an issue with my javascript code for a simple interest calculator. Every time I try to calculate the amount, it keeps returning NaN. It seems like the code is treating the + as if I'm trying to concatenate strings, and I'm not sur ...

Having trouble decoding JWE using the NPM Jose library

Although I can successfully decrypt a JWE using an older version of jose, I'm facing difficulties in utilizing the latest version API. The headers of my token are as follows: { "alg": "A128KW", "enc": "A128CBC-H ...

Tips for properly implementing ng-hide and ng-show across various sections of your single page application

Currently working on a Single Page Application (SPA). I've included some buttons in the side navigation with the intention of displaying different content when they are clicked. However, I encountered an issue where using ng-hide and show didn't ...

The functionality to generate forms on the click of a button appears to be malfunctioning

I am currently attempting to dynamically create Bootstrap Panels using an `onclick` function. However, I want each Panel to generate multiple forms when the button is clicked. In my current code, the first Panel successfully creates forms when the button i ...

Having trouble putting Protractor to "rest"

Having trouble getting Protractor to rest. I have the following line in my spec file: browser.driver.sleep(5000); I've experimented with different solutions, but none of them seem to be effective.. Your assistance is greatly appreciated. ...

Managing the AJAX response from a remote CGI script

I'm currently working on a project that involves handling the response of a CGI script located on a remote machine within a PHP generated HTML page on an apache server. The challenge I am facing relates to user authentication and account creation for ...

Display a block by using the focus() method

My objective is : To display a popin when the user clicks on a button To hide the popin when the user clicks elsewhere I previously implemented this solution successfully: Use jQuery to hide a DIV when the user clicks outside of it However, I wanted to ...

Error: The System variable is not defined in the current context - Angular 2

Recently, I updated my angular version and now I am encountering errors in the console that are preventing my application from running smoothly. Despite having no errors in my terminal, this issue has been persisting for days and I can't seem to find ...

Tips for using Howler library in React to automatically play audio upon loading the page

I'm troubleshooting why the audio on my webpage won't start playing when the page loads, and instead only plays after a mouse click triggers an event. The audio works fine but I want it to automatically play as soon as the page is loaded. import ...

Update the configurable product process for the custom attribute 'delivery_time' in Magento 1.9.2

I am currently using Magento 1.9.2.4 (1.9.2.3 in my Testpage) and I have a few configurable products with multiple options. Each product (child of the configurable one) has a different delivery time. To achieve this, I created an attribute called "delivery ...

The View does not reflect changes made to the scope

Exploring a basic example of what I am attempting to achieve: Athlete.save(athlete,function(result) { $scope.athlete = result.athlete; }); The problem arises when the $scope.athlete variable fails to update in my view. To force an update, I have t ...

Adjust the size of an image within a canvas while maintaining its resolution

My current project involves using a canvas to resize images client-side before uploading to the server. maxWidth = 500; maxHeight = 500; //handle resizing if (image.width >= image.height) { var ratio = 1 / (image.width / maxWidth); } else { var ...

Unable to align text to the left after inserting an image with a caption in Froala editors

Here are the steps to reproduce the issue: Begin by opening the Froala editor at . Delete all content in the editor. Insert an image. Add a caption to the image. Click outside the image and attempt to type. Problem: After adding an image caption, any te ...

What is the best approach for transmitting data to the post method of Node.js using AJAX/jQuery?

A UDP server I have is set up to respond with a different message each time it receives a message. When I hard code the message into the variable "message," everything works fine. However, I want the client to be able to manually type in a message, and t ...

Using AngularJS, complete and send in the form

What is a simpler way to submit a form using AngularJS without utilizing an angular ajax call or adding the action="xxxx" attribute to the form? An example scenario could be a large form where assigning a model for each field isn't feasible, and send ...

Adjusting the dimensions of the canvas leads to a loss of sharpness

When I click to change the size of the graph for a better view of my data in the PDF, the canvas element becomes blurry and fuzzy. Even though I am using $('canvas').css("width","811"); to resize the canvas, it still results in a blurry graph. I ...

Discovering the specific marker that was clicked from a group of Google map markers

I have a collection of marker objects named markers. I am currently utilizing a for loop to assign event listeners to each one. However, I am encountering difficulty in determining which specific marker was clicked. This is the current code snippet I have ...

Tips for displaying user-entered information from a form after submitting it with PHP

How can I display the email in the email text input field with this code? It doesn't seem to work correctly when there is a failed login attempt. value= "if(isset($_POST['submit'])){ ?PHP echo $_POST[''email']?>"; ...

Ensure that data is not cached after the page is refreshed at regular intervals of x seconds

In the process of developing a news app, I have implemented a feature where a div with the class .new_feed is refreshed every 10 seconds to fetch new updates. However, I encountered an issue where if a new feed appears in the .new_feed div and is not cli ...