I have use code
this.refs.table.hotInstance.updateSettings({
cells: function (row, column) {
cellProperties.readOnly = false
cellProperties.type = handsontableCellTypes.AUTOCOMPLETE
cellProperties.isUnflipDropdown = true
cellProperties.editor = Editor
cellProperties.visibleRows = autocompleteVisibleRows
cellProperties.isLimit = false
cellProperties.isComponentLevel = true
if (column === 1)
cellProperties.source = myArraySource
return cellProperties
}
Can I add tooltip for all dropdown item in this case.
Add tooltip for Dropdown in cells
Hi! You can add a tooltip by leveraging the āhandsontableā property of the autocomplete/dropdown/handsontable cell type.
Hereās a simple example: https://jsfiddle.net/warpech/8fkusyhp/4/
There are more examples of the āhandsontableā property on the page: https://handsontable.com/docs/8.2.0/demo-handsontable.html
@warpech Thanks for your help. Any ways to get handsontable instance on cellProperties which contain dropdown. Because I use it. I not yet find the way.
https://handsontable.com/docs/8.2.0/tutorial-setting-options.html
Typically, the getCellMeta
method should give you an object with handsontable
property, but only if it was defined in your configuration object. If it is not defined in the configuration object, then it is not present in the cell properties object.