[#5772] beforeCreateRow: Index parameter is boolean

Tags: #<Tag:0x00007f8b19d38d48>

When the filters plugin is enabled, the index parameter for beforeCreateRow(index, amount, source) becomes a boolean?

https://jsfiddle.net/09b1Lc6g/

Thank you for sharing the example, Mike.

I have replicated the same behavior in the vanilla version https://jsfiddle.net/wjmug84z/

I have reported the issue on our Github board https://github.com/handsontable/handsontable/issues/5772

The documentation says that it can only be a number, but it should be confirmed by a developer.

I will let you know as soon as we get some updates.

Hey Mike!

Our developer already pushed a commit to solve the issue https://github.com/handsontable/handsontable/pull/5783

it should be ready for the next release (Handsontable 7.0.0)

Thanks!

1 Like

You’re welcome.