Hi Team,
https://jsfiddle.net/ashwinsneha/46wp92ja/5/
Please check this link. I have used validation for the first column “FirstName” by using below code
validation: function (cell, value) {
if (isNaN(value)) {
return {
result: false,
message: "Please enter numbers"
};
}
if (value == "") {
return {
result: false,
message: "Required"
};
}
return true;
}
Now if i edit any name and put blank. It will give me a warning saying “Required”
However when i click on export to CSV, it gets exported. I want to ensure that none of the data gets exported unless user completes the validation. What should be done in this case ?