Search code examples
handsontable

How to add per-cell placeholders to a handsontable?


I'm working on a small application that trains users to navigate around cells and enter predefined (placeholder) content.

I know that it's possible to add per-column placeholders but haven't found a way to add per-cell placeholders.

Is there any way?


Solution

  • Try adding the placeholder to the cellProperties instead of the Column. I guess it should work. The cascading configuration should pick up the cell properties. https://github.com/handsontable/handsontable/wiki/Options#how-does-cascading-configuration-work