igniteui-webcomponents icon indicating copy to clipboard operation
igniteui-webcomponents copied to clipboard

Need a null check in the sample

Open igDivya opened this issue 2 years ago • 0 comments

Sample from WC sample browser throwing attached error : /webcomponents-demos/samples/grids/grid/row-drag-base

There needs to be a null check in the onGridRowDragEnd code. For example:   Textpublic onGridRowDragEnd(args: any): void {
const ghostElement = args.detail.dragDirective.ghostElement; if (ghostElement == null) { console.log("null ghost elemenrt"); return; }

error: image error1

igDivya avatar Mar 21 '23 19:03 igDivya