[GH #7017] Changing nested rows after initialization

Tags: #<Tag:0x00007f0b0299b808> #<Tag:0x00007f0b0299b628>

Hi, whenever I try to toggle nested rows I get Uncaught TypeError: Cannot read properties of null (reading ‘length’). See example https://jsfiddle.net/e908zq6g/

Hi @justin.ross

Nested rows requires a specific data object configuration in order to work. Just enabling the plugin without that configuration will throw an error. Here’s an example with proper data object: http://jsfiddle.net/handsoncode/gceqrLd2/

Hi Adrian,

I would like to swap the table from a nested array to a non-nested array with a toggle. Is it possible to do this in a single table? This example shows what I am trying to accomplish: https://jsfiddle.net/0sbozmtj/

Hi @justin.ross

Unfortunately, at the moment it’s not possible as you can’t swap the dataset because of the bug, that’s described in that issue: https://github.com/handsontable/handsontable/issues/7017

I will let you know when we start working on it.