How to capture dragging event

Tags: #<Tag:0x00007f8b1dc23990>

I need to disable the dragging event in a column but I am not able to capture dragging, Please help me?

@aleksandra_budnik Please can you help me out.

Hey @preet.saxena

You’re looking for fillhandle

fillHandle: true // possible values: true, false, “horizontal”, “vertical”

It cannot be changed only for one row/column but you can block it via beforeChange hook. You’d need to look for the autofill change type.

Ok, I am looking. Thanks

Please update me on this when you’re ready

Hi @aleksandra_budnik,

Thanks for all your support, I am able to do this with before change method.

beforeChange: (changes, source) => {
if (source === ‘CopyPaste.paste’ || source === ‘Autofill.fill’ || source === ‘edit’) {
for (let i = 0; i < changes.length; i += 1) {
if (changes[i][1] === this.nameConventionString) {
changes[i] = null;
}
}
}
if (source === ‘populateFromArray’) {
for (let i = 0; i < changes.length; i += 1) {
if (changes[i][1] !== this.nameConventionString) {
if (changes[i][2] === changes[i][3]) {
changes[i] = null;
}
}
}
}
},

exactly :slight_smile: I’m glad that it works for you