Duplicate rows in handsontable

Tags: #<Tag:0x00007efc606ec2c0>

Is their any way, to check if rows data is matching by iterating for each row (considering all rows and cols) so, for example (not considering header)
row1 : {1 , a, b, c, d}
row2 : {2 , aa, bb, cc, dd}
row3 : {1 , a, a, c, d}
row4 : {1, a, b, c, d}

Here if we consider row1 and row3 then here it should not alert,
But if we consider row1 and row4 here it should alert by saying that row1 and row4 are duplicates (like wise in some scenarios it may be row5 or row3 so iterating on rows is mandatory)

So need to fix this kind of scenarios
Thank you

Hi @cadop16620

What is your expected output here? Do you want to highlight duplicated rows or show some kind of alert?

Umm,
Actually just need to get the index of row where the duplicates are their

Hi @cadop16620

In order to get indexes of duplicated rows you can use getDataAtRow(changes), but we don’t have any API to detect the duplicates so you will need to use your custom logic.

Okay, well, I’ll go with custom logic
Thank you for your response