I am using a nested row with some static dropdown. But I am not able to select the Dropdown list getting this below error.
Uncaught TypeError: Cannot read property ‘highlight’ of undefined
The issue might be connected to some other settings or a correlation between them.
I’ve used your cells method here https://jsfiddle.net/93odn5ks/ But while using the demo on my Chrome 91 / Windows 10 I do not get any errors in the console.
Do you mean you would like to exclude the insert child row (and possibly insert a row above and Insert row below) for some cells in the table?
If so, then yes. You can use the hidden option of the context menu like in this example http://jsfiddle.net/AMBudnik/nLhqcx7m/ where we hide the custom option for col < 2 (column with a lower index than 2).
Thanks @aleksandra_budnik, but I need this button on every row header along with collapsible + icon.
example - Add New child row + collapse button/icon
Then I propose to use the demo (to copy the alter method and getSelectedLast) and paste those in the afterGetColHeader hook, which is used to overwrite the default column headers. Also, please remember that the hook adds by default values to all the headers (not only those on the lowest level) - it can be tested here https://jsfiddle.net/ms10y39z/