Search the web
Sign In
New User? Sign Up
ydn-javascript · Yahoo! User Interface Library Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
reloading js_array datasource when data changes   Message List  
Reply | Forward Message #36951 of 52126 |
I have a datatable constructed off a js_array datasource, and when the
underlying array gets changed elsewhere in my app, I need to refresh
the datatable. Is there an easy way to do this??? Just destroying
the old datatable and creating a new one comes to mind, but surely
there is an easier way with less overhead.




Fri Aug 29, 2008 11:38 pm

digitalzeitg...
Offline Offline
Send Email Send Email

Forward
Message #36951 of 52126 |
Expand Messages Author Sort by Date

I have a datatable constructed off a js_array datasource, and when the underlying array gets changed elsewhere in my app, I need to refresh the datatable. Is...
digitalzeitgeist
digitalzeitg...
Offline Send Email
Aug 29, 2008
11:38 pm

... You can do: myDataSource.sendRequest(null,{ success: myDataTable.onDataReturnInitializeTable, scope: myDataTable }); Hope this helps, Luke...
Lucas Smith
y_lsmith
Online Now Send Email
Aug 30, 2008
6:10 am

... I'd tried variations on that, but never could quiet figure the right params out. Works great - thanks so much!...
digitalzeitgeist
digitalzeitg...
Offline Send Email
Aug 30, 2008
3:55 pm

There is no other parameters from those you see. Simply replace those myXXXX with yourXXXX, however you called them, that's all. Satyam...
Satyam
satyamutsa
Offline Send Email
Aug 30, 2008
9:13 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help