Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #109320
    matdjon
    Participant

    Hi,

    Referring to the smart table API, there is a method called refresh() for it, as in this link.

    I just wonder what does the refresh does, as the description is a little short.

    Thanks in advance

    #109336
    Markov
    Keymaster

    Hi,

    The refresh method refreshes the table which means that it re-renders all DOM elements in it and layouts them. If it just an utility method which someone may need to use if there’s a visual glitch in some scenario not covered by us internally.

    Best regards,
    Markov

    https://www.htmlelements.com/

    #109362
    matdjon
    Participant

    Hi Markov,

    Thanks for the detailed explanation. For context, I am asking about the refresh method because I want to refresh my table with and updated data, i.e. new table row. But I figured that I just need to send new/updated array to the table dataSource and the table will automatically update itself.

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