JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums Table Invalid Item Index when removing from Table

Tagged: , , ,

Viewing 2 posts - 16 through 17 (of 17 total)
  • Author
    Posts
  • #101726
    admin
    Keymaster

    Hi Johnny Johnny,
    I hoped that in the previous post I explained that when you remove a row the index of the rest of the ROWS is changed expectedly which means that your selection indexes when you started the loop becomes invalid and this is visible from your console logs, too.
    For example, when you call

    table.removeRow(0);
    table.removeRow(3);
    table.removeRow(11);

    All three rows are removed. Ex: https://jsfiddle.net/L0qcynzf/
    Best regards,
    Peter Stoev
    Smart UI Team
    https://www.htmlelements.com/

    #101739
    fimarapp
    Member

    Dear Peter,
    Thank you so much for your answer, if I try to remove using your example the three rows are not removed : (
    I made a video: https://streamable.com/uw402h
    The problem is when we select them. It doesn’t matter if you do it your way, there are not removed as you can check in the video.
    Best regards,
    Johnny Johnny

Viewing 2 posts - 16 through 17 (of 17 total)
  • You must be logged in to reply to this topic.