3.0.0

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
March 31,
Add your code into table.response() callback -

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

that's exactly what I need
Shawn
March 31,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.