:: Forum >>

refresh row in grid loaded with table.request


I'm trying to refresh a row (or even just a cell) in a grid without refreshing the entire grid (obj.refresh) after using table.request to get some data loaded in the gird.

However, the examples given on the site has only been for a grid created using a myData[i][j] array.

Any urgent help would be appreciated!
Tuesday, September 6, 2005

To refresh a row:
and for a single cell:
Tuesday, September 6, 2005
Sorry ** )'; ** (single quote at the end)
Tuesday, September 6, 2005
How would I set the text of a cell with table.request?
Tuesday, September 6, 2005
Check this post:
If using CSV should be similar.
Tuesday, September 6, 2005
I tried that, I get a "object does not support this property or method" error. I even changed the code to :

table.setText = function(value, i, j){
var node = this.getText(i, j);
node.text = value;

But it changes nothing (I default setText to "hello world",0,0)

I then alert the value and node.text. Value comes through (even though after the refresh it doesn't appear) and node.text gives me "undefined"

Any idea?

What I'd like to do is edit the row (outside of the grid by passing all the values within the row to a form popup box) then pass the values back to the row and refresh ONLY the row. Refreshing the entire grid is not an option.

Tuesday, September 6, 2005
Still struggle to do this....
Monday, September 12, 2005

This topic is archived.

Back to support forum

Forum search