refresh grid content

how can i refresh grid contect ?
our data came from database with json.
we want to refresh the grid after database was updated.
we tried to do: mygrid.parse(js,“json”); and it didnt work

Please check example here dhtmlx.com/docs/products/dht … fresh.html