strange behaviour of external data model and setCellText
I am evaluating the grid and found a strange behaviour with external data model, I have linked the grid to cells of an existing HTML table.
After grid.refresh the grid is painted correctly
The linked HTML table is big and receives many AJAX based updates, therefore I would not like to use the grid.refresh everytime I receive updates.
So i calculate the position in the grid based on the dynamic HTML table update and set the new value in the grid :
grid.setCellText(refvalue,x.cellIndex, x.parentNode.sectionRowIndex-2);
(x = the table-cell that has the new value)
somehow there is a buffer in writing directly to the grid, the updates I see in the grid are allways one update behind the origional table. I assume this buffer is by design till one gives a grid.refresh.
Is there a way to write directly to the grid without having to use grid.refresh ?
I hope someone can help me with this, I like the grid very much and seriously think of buying it.
After grid.refresh the grid is painted correctly
The linked HTML table is big and receives many AJAX based updates, therefore I would not like to use the grid.refresh everytime I receive updates.
So i calculate the position in the grid based on the dynamic HTML table update and set the new value in the grid :
grid.setCellText(refvalue,x.cellIndex, x.parentNode.sectionRowIndex-2);
(x = the table-cell that has the new value)
somehow there is a buffer in writing directly to the grid, the updates I see in the grid are allways one update behind the origional table. I assume this buffer is by design till one gives a grid.refresh.
Is there a way to write directly to the grid without having to use grid.refresh ?
I hope someone can help me with this, I like the grid very much and seriously think of buying it.
andre@bse-consultancy.com
December 31,