I think that you need to call the "wrapper.getState()" (where "wrapper" is
the control) function to get in updated control instance.



On 25 באוק 2011, at 03:24, Nizam <[email protected]> wrote:

Dear all,

   I am using dashboards to filter a table and have a div that shows
the number of rows. The problem is the value of
table.getDataTable().getNumberOfRows() show the value right before the
change.

  For example, if I have 200 rows in my table and apply a filter that
will reduce the number of rows to 50, in statechange event of the
google.visualization.ControlWrapper, the value would be 200. Only in
the next event, it will show 50.

 What am I doing wrong?

Thanks in advance,
Nizam

-- 
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To post to this group, send email to
[email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-visualization-api?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to