Atuofill for object value

Tags: #<Tag:0x00007efc64dd5948> #<Tag:0x00007efc64dd57e0>

Autofill only working for string values? i’m trying to autofill date object value but autofill not working for that… any solution for this?

Hi @omkar.shirke

It is said that

Using the tiny square known as the ‘fill handle’ in the corner of the selected cell, you can drag it (drag-down) to repeat the values from the cell.

ref: https://handsontable.com/docs/javascript-data-grid/autofill-values/

so the autofill is not recognizing patterns, it just copies the values.

I am afraid that you’d need to add a custom logic inside the afterAutofill or afterChange hook to alter this behavior.

This example https://jsfiddle.net/42mye0xd/ however, may help you to create sucha a logic. It shows how to populate numeric values.