This is the image for reference. When user double clicks, it should open the checkboxes list with whatever values I have available. Once the user clicks on ‘add an option’ it will be going to display ‘textbox’. Once the user enters text value and press enter it should append it in the existing list.
Shall I go for a custom new editor or extend existing checkbox editor? Can I get a reference to a link where anybody made a custom editor for the checkbox?
Hi @aleksandra_budnik thanks for the response. i have a custom HTML renderer inside a cell and i have a rowheader property set to true on my handsontable instance.
Based on the content, my tables row height is managed automatically. but somehow height of the row headers remains as it is. It does not adjust dynamically. Any idea why ?
Handsontable needs to know the exact high of a cell. You’d need to limit the area - for example add a DIV wrapper for the cell content.
Sometimes ‘autoRowSize: true’ also solves the misalignment.
Yes, I have that flag(autoRowSize) set to true also I have made sure to limit the area by wrapping content of the cell into the DIV.
Issue is with the ROW HEADERS. They are not resizing according to the content.
If you see in screenshot, number 17,18 and 19 displayed for single row.
Also I have set, ‘rowHeaders’ flag to true, which is generating these numbers dynamically I guess. 1,2,3 etc… but only that part of my row ( i.e. cell which is 17,18 and 19) is not resizing.
So, is there any way to modify our data before export to excel operation is performed or may be we can pass a parameter name ‘data’ to the downloadFile method of exportToFile plugin ?
Data that is being exported is what Handsontable sees in the getData method. Here’s an example https://jsfiddle.net/v7zg2j36/
You can replace the element with anything else via setDataAtCell before it gets exported and then change it again when the export is finished.