Custom Editor only renders the first column

Tags: #<Tag:0x00007efc728f1068> #<Tag:0x00007efc728f0f00>

Hi all,

Please see this fiddle: Link
I have the same issue with my implementation. The column B is not rendered when using the custom editor. Can anyone help me with this?

Thank you.

Hi @ali.jibran

Thank you for contacting us. I can see that you didn’t define the second column in the columns configuration. If you add it, then everything works correctly: https://jsfiddle.net/handsoncode/s7zvhqtg/

Hey Adrian.

Thank you so much. That was it. But I needed it to work on the whole sheet so I just added

editor:MyEditor

Works perfectly! Thanks

Just one more issue. I am using TypeScript and it said Property 'clearHooks' does not exist on type 'FormulaEditor'. Even though it’s extending the baseEditor.
FormulaEditor extends Handsontable.editors.BaseEditor. Do I need to manually instantiate the basePlugin to use it?

Hi @ali.jibran

Thank you for the update. I’m glad that it worked.

As for the clearHooks method, it’s a part of basePlugin so that’s correct behavior, as baseEditor doesn’t have access to it.