PDA

View Full Version : A couple of questsions



scottjo
18 Dec 2008, 2:26 AM
Hi all.

Please accept my apologies for asking a couple of dumb questions but in my defence I'm a newbie to ExtJS and all that it provides.

I have been asked to investigate frameworks as a sub project and I am presently looking at ExtJS, Zend and a couple of others and I have a quick question regarding tables and data.

We are an ASP and our website has a mySQL back end. The tables within Ext look great and I love the sorting etc. however our tables have many 000's of rows and I was wondering about pagination. How does the Ext table / pagination communicate to the back end? When the user clicks next page or selects a page does it go off to the server and request another dataset - i.e. utilising something like the mySQL LIMIT functionality? or does the data conduit retrieve all items that match a query and then the pagination object handle the slicing and dicing.

I hope this makes sense.

Jon

evant
18 Dec 2008, 2:31 AM
The PagingToolbar sends starting page and page size parameters to the server, so all of the paging is done server side.

scottjo
18 Dec 2008, 2:36 AM
Thats great - so is there a server side data object that handles query parameters etc.?

evant
18 Dec 2008, 2:50 AM
There's no server components, the ExtJS framework is server platform agnostic.

mjlecomte
18 Dec 2008, 4:16 AM
http://extjs.com/learn/Ext_FAQ_Grid#Paging.2C_Paging_toolbar.2C_Total_record_count