Hi,
i use tree grids in my form, and when i put the second grid de data of the grid are empty and just are updated and i see them when i put the mouse over of that second grid.
I have some way to force the same event that make on mouse over? to make them run when the grid are load all to show the correct data?
But i dont want change de event of onmouseover,
i want force de refresh of the view to see the rows after load.
That are the situation:
load first grid, and load data. all ok i see the rows.
load second grid, load data, load the grid but rows are empty, but onmouseover make a refresh of the view and i see the correct rows that are load.
what i want are by javascript force to refresh the grid view. how can i make that?
You can refresh grid view with following code:
grid.clearAll();//remove all rows from the grid
grid.load(url);//load new rows to the grid
Also you can use updateFromXML() method docs.dhtmlx.com/doku.php?id=dhtm … atefromxml
But i dont to refresh the data of the grid, i just want to refresh the grafic, because there are one bug, because de rows are good load. but the user dont see the rows until mouse over the grid.
I want just simulate the mouse over the grid to force rrefresh the grafic of the grid and show the rows.
Try to use setSizes() method:
grid.setSizes()
don’t work.
When i load the grid are empty, when i put the mouse over any grid, the second grid load the data…
can i simulate that refresh of the data like happens on on mouse over?