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.
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.