JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums Data Grid onRowInit and onRowInsert do not provide index

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #102898
    tullio0106@live.it
    Participant

    In my code I need to index of the newly added rows.

    I tried to use onRowInsert and onRowInit :

    
    
    onRowInserted(index, row) {
    console.log("IndeX "+index);
    console.log("RoW "+row);
    rowInsert(index);
    },
    
    

    But I allways get an undefined value for index and un undefined row object.

    Then something goes wrong and I don’t see the new row.

    Looking into the browser console I see an error : o is undefined.

    What’s wrong ?

    Tks

    Tullio

     

    UPDATE : the o is undefined error comes out even if I remove the onRowInit and/or the onRowInserted method.

    #102909
    admin
    Keymaster

    Hi,

    The reported behavior is confirmed and will be resolved in the next release.

    Thank you for the feedback!

    Best regards,
    Peter Stoev

    Smart UI Team
    https://www.htmlelements.com/

    #102910
    tullio0106@live.it
    Participant

    Forecast for the next release ?

    Tks

    #102919
    admin
    Keymaster

    Hi,

    Please, subscribe to our newsletter to get notifications about the new versions. A new version will be released this month.

    Best regards,
    Peter Stoev

    Smart UI Team
    https://www.htmlelements.com/

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.