PDA

View Full Version : Grid refresh with parameters



pomata
1 Dec 2006, 3:26 PM
Hi,

I´ve got a php file that returns an xml by given parameters.

how can I implement to refresh grid when I submit a button... with parameters to be passed to the php file?

sorry if for anybody sound simple, can´t get it working....

tried with this but don´t work....

dataModel.paramMap = {'page':'pagetest'};
dataModel.load('lookup.php');

plz help... this is driving me crazy...

tryanDLS
1 Dec 2006, 3:35 PM
How about the paged grid example? Isn't that passing parms back to get a new page each time.

pomata
1 Dec 2006, 3:46 PM
Thanks tryanDLS,

this did the trick....

http://www.jackslocum.com/blog/2006/08/31/a-grid-component-for-yahoo-ui-part-2/