:: Forum >>

How can I update other html element after table.request()

Hi there,

I'm using a dynamic table by calling the table.request periodically. Everytime the data is reloaded, some other html element need to be updated (i.e. the total row count of the table .etc).

The problem is the table refresh itself in async mode. so if I try to get the new properties of the grid after table.request() , I actually get the out-of-date value.


So how to work it out, thanks in advances.
Shawn
Monday, March 31, 2008
Add your code into table.response() callback -

table.response1 = table.response;
table.response = function(data){
this.response1(data);
// put your code here
}
Alex (ActiveWidgets)
Monday, March 31, 2008
thx, Alex

that's exactly what I need
Shawn
Monday, March 31, 2008

This topic is archived.


Back to support forum

Forum search