Angular 6 Validate Button

Tags: #<Tag:0x00007f8b19eb8e70>

Hi.
JS : --> https://jsfiddle.net/sysb6wvd/2/

I want to do this code with angular 6 working with js. If one of the cells is not correct, click on the button and the values will be console false.

Thank you, have a good day

Hey

what should be the cell type (and source id dropdown.select/autocomplete) for the 1 column?

I want to do the same at angular 7, should be the cell type text

OR http://jsfiddle.net/kirubz/3jqy6vcj/1/ --> I want to do the same at angular 7

Here’s the demo https://stackblitz.com/edit/angular-tybwca?file=src/app/hello.component.ts

I’m sorry, but that’s not what I’m looking for.

http://jsfiddle.net/kirubz/3jqy6vcj/1/ -->

$(‘button[name=validate]’).on(‘click’,function () {
$(’#example1’).handsontable(‘validateCells’,function(isPass){
if(isPass){
alert(“Saving data”);
}
else{
alert(“Error!”);
}
});
});

when a cell in a table is false, it should return a value of true when a button is clicked when there is no error

Button click --> Error alert

Button Click --> Success alert

I want to do the same at angular 7

I am sorry but I do not see any errors in the console. What cells do you want to validate and how (what validator should be used: custom, predefined)?