PDA

View Full Version : paging



adamjw3
5 Jun 2007, 8:01 AM
very new to this. had a look at the examples and wanted to try it on my machine so i copied the paging.js file and saved it.

i used the script on A html page by using

<script type="text/javascript" src="paging.js"></script>


and called it by doing

<script language="javascript">Ext.onReady();</script>

but nothing appeared on screen, what am i doing wrong?

cheers

jsakalos
5 Jun 2007, 9:46 AM
For a paging to work you have to write also server-side script/app. Have you done so? Also you have to pass some arguments to Ext.onReady(...). Look once again to examples.

adamjw3
6 Jun 2007, 12:58 AM
what server side? i thought ajax was meant to be client side ??

is there any where i can get some basic basic tutorials?#

thanks for the help

jsakalos
6 Jun 2007, 2:09 AM
what server side? i thought ajax was meant to be client side ??

is there any where i can get some basic basic tutorials?#

thanks for the help

Ajax is client side in that that it can send request to and process response from the server in background w/o page reloading.

There are Ext tutorial on "Learn" page and you can google for ajax or xmlhttprequest to find ajax ones.