I am now using the listview to show the mysql data, it is fine. and
using the event click to pass the id to ajax and display the detail. all
is OK..
but now, there are difficult for change the data list. I using the php
to fetch the data, then echo to the listview source. but I want to do
the search function for the user, when the user enter the company type
is "Toy", then I need to using ajax to fetch again the data and apply to
listview. but i am no idea with finish that, help!!
In the begin, I fetch all data:
<?php while($row = mysql_fetch_array($query)){
echo 'ld.push({ id : { text :"'.$row["ID"].'"}, name : { text :
"'.$row["NameOfCompany"].'"}, office : { text :
"'.$row["LocationOffice"].'" }, factory : { text :
"'.$row["LocationFactory"].'" }, modified : { text : "'.$row["ID"].'" },
rights: { text : "'.$row["ID"].'" }, open : { uri :
"http://www.google.com/", html : "http://hkplants.com" }});';
}
?>
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel