How to force re-render the table?

Tags: #<Tag:0x00007f8b19da8120>

hi,

I have a table with custom renderer for one column, and content of that column contains url link associated to each row data. For some reason(unknown yet) after adding a new row only contents of that custom renderered column get messing up, so I need a force re-render method(not window.location.reload()) of handsontable for this case. Could you please let me know of that?

Hi @bing.lan

have you tried render() method already?

If that won’t work please share a demo where the issue can be replicable.

@aleksandra_budnik Thanks for your reply, render() does not fix it.

Please refer to link https://jsfiddle.net/sph0w9ru/38/ for this issue
Steps:

  1. open the link - https://jsfiddle.net/sph0w9ru/38/
  2. press button ‘add’
    Issue - check the Data Link of new added row(second row), it should be pointing to http:www.example.com/datalink/4 however it’s still http:www.example.com/datalink/2 which is old one.

Hey @bing.lan

here’s an example with setting up state https://codesandbox.io/s/advanced-handsontablereact-implementation-using-hotcolumn-878mz?from-embed if you’d still have issues with the example please send me the details to support@handsontable.com

@aleksandra_budnik I have sent email to support@handsontable.com on Monday, could you please check and respond?

Replied by e-mail. I’m closing the topic.