Skip to content
This repository was archived by the owner on Jun 1, 2025. It is now read-only.

Commit 24674a6

Browse files
committed
demo: remove unused code
1 parent aca016c commit 24674a6

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/app/examples/grid-resize-by-content.component.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -414,18 +414,6 @@ export class GridResizeByContentComponent implements OnInit {
414414

415415
handleValidationError(_e: Event, args: any) {
416416
if (args.validationResults) {
417-
let errorMsg = args.validationResults.msg || '';
418-
if (args.editor && (args.editor instanceof Slick.CompositeEditor)) {
419-
if (args.validationResults.errors) {
420-
errorMsg += '\n';
421-
for (const error of args.validationResults.errors) {
422-
const columnName = error.editor.args.column.name;
423-
errorMsg += `${columnName.toUpperCase()}: ${error.msg}`;
424-
}
425-
}
426-
console.log(errorMsg);
427-
}
428-
} else {
429417
alert(args.validationResults.msg);
430418
}
431419
return false;

0 commit comments

Comments
 (0)