Get selection using the square

Tags: #<Tag:0x00007efc64645160>

Greeting,

I want to prevent the changes when using the little square on a single row.
To do that, I am currently using the beforeChange method :

image

but, the probleme is the selection is not the true selection:

My question is: how to get the true selection using the square ?

Hi @alexandre.quere

we have a dedicated hook for the fill handle - beforeAutofill.

As shown on the screenshot we get coordinates (start, end) of the autofill action. Here http://jsfiddle.net/AMBudnik/vwmnj2ca/ is an example that blocks the horizontal autofill but allows to populate values vertically.

Perfect, Thanks again @aleksandra_budnik !
You can close the topic :wink:

1 Like