I checked your implementation, and it seems to to me that in general your requirements are already met, or maybe I misunderstood something. When I modified your log a bit:
I think it’s a matter of modifying the parent row indexes getter to get only one parent instead of the array. Additionally, the checkboxes will always be logged in order of checking them anyway.
the output will be like:
{title: “Drones”, orderno: “40004”, artist: “Muse”, }
{title: “.5: The Gray Chapter”, orderno: “40004”, artist: “Slipknot” }
However I would like it to be like:
{title: “.5: The Gray Chapter”, orderno: “40004”, artist: “Slipknot” }
{title: “Drones”, orderno: “40004”, artist: “Muse”, }
Thank you for the clarification. I checked it again, and it seems that you can get the “correct” selecting order if you select the checkboxes from top to bottom of the table. The other way round it’s in “reversed” order. We don’t provide any specific API that would allows to easily check the selection order.
At that point it’s a custom implementation and because of that I have to ask you for your license ID so I can check your current support plan. Please send it to support@handsontable.com