[ 3 posts ]

Wan Pim

  • Username: kunaun
  • Joined: Sun Nov 15, 2009 8:49 pm
  • Posts: 28
  • IRC: Kunaun
  • Offline
  • Profile
Tags:

Transmit values across the frame. To update the table.

Post Posted: Mon Jan 04, 2010 8:40 pm
+0-
I have 2 frames left - right.
The left side table list staff list.
Right side table has a list of selected employees.
What I want is. When employees from the left side. I want to choose a name that has been sent to the right side.
Right side and make a new update.

The table left and right. Created by Yui. Right information in the table retrieved from the database to display.
If it is selected from the left table will be put on the table all right.
Not enter the database.

What should I do to manage this problem.

Satyam

YUI Contributor

  • Username: Satyam
  • Joined: Tue Dec 09, 2008 12:34 am
  • Posts: 2016
  • Location: Sitges, Spain
  • GitHub: Satyam
  • Gists: Satyam
  • IRC: DevaSatyam
  • YUI Developer
  • Offline
  • Profile
Tags:

Re: Transmit values across the frame. To update the table.

Post Posted: Tue Jan 05, 2010 5:10 am
+0-
I really don't know how to handle it cross-frame. To refresh the table on the right you might use what I do, a requery method which I add to the DataTable.

http://www.satyam.com.ar/yui/2.8.0/requery.html

It doesn't work in all cases, read the warnings.

The key part is the call to DataSource's sendRequest method, which you can see in the code for that function.

Wan Pim

  • Username: kunaun
  • Joined: Sun Nov 15, 2009 8:49 pm
  • Posts: 28
  • IRC: Kunaun
  • Offline
  • Profile

Re: Transmit values across the frame. To update the table.

Post Posted: Tue Jan 05, 2010 11:23 pm
+0-
Now I can solve the problem then.
It is my own silliness.
I solve this problem.
parent.frames["frame name"].my function();

Thank you for help
  [ 3 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum