>All Tutorials 
Ajax and .NET Ajax and .NET RSS XML
Ajax and ColdFusion Ajax and ColdFusion RSS XML
Ajax and Java Ajax and Java RSS XML
Ajax and PHP Ajax and PHP RSS XML
Ajax and SOA Ajax and SOA RSS XML
Ajax Goodies Ajax Goodies RSS XML
Ajax Tool Ajax Tool RSS XML
Facebook MockAjax Facebook MockAjax RSS XML
Google Web Toolkit Google Web Toolkit RSS XML
JavaScript Framework JavaScript Framework RSS XML
Ruby on Rails Ruby on Rails RSS XML
Technique Introduction Technique Introduction RSS XML
Without XMLHttpRequest Without XMLHttpRequest RSS XML
Yahoo! UI Yahoo! UI RSS XML

How to paginate, sort and search a table with Ajax and Rails - items rails table page ajax action view application

 
Registered tutorials: 501
Registered Users: 33127



Rating: 4.4 out of 5 votes cast


  
Category: Ruby on Rails

Tags Map

action actions add ajax application argument block body call called case class classic code column columns conditions content controller created creating current database def default define defined defines desc descending describe development display displayed div document element elements entire equals evalscripts fact false field file files find function generate generated handle hash header helper helpers href html htmloptions http id image important installation instruction integer interface introduction item items itemslist itemspages itemsperpage javascript key kinds layout link links list located method migration model number object observefield observer onsuccess options order page pageoptions pages paginate pagination paginationlinksremote paginator param parameter parameters params part partial passed price qty quantity query rails render request requests result return returns reverse ruby scriptgenerate search send separate simple sort sorting sortlinkhelper sorttdclasshelper spinner sqlite string success table tcolumn td text time total tr traditional treated true tutorial type update updated url urlfor values variable view warnings windowsize xhtml xmlhttprequest

Keyword Cloud Navigation Map

How to paginate, sort and search a table with Ajax and Rails

Digg this   Post to del.icio.us

Abstract: In this tutorial, we will try to use Ajax with Rails in order to display a table of items with several functionalities pagination, sorting,searching

A live demonstration of this application is available at :

http://dev.nozav.org/ajaxtable/

This is a very common task in web application development. The interest to use Ajax for this is to provide a dynamic interface which doesn't need to reload the entire page when the table changes. The interest of using Rails is... well, if you are reading this you should already know, but Ajax is really nicely integrated with Rails, and using it is very easier with this great framework. Nevertheless, the code in this tutorial should work the traditional way (by reloading the entire page) if javascript is not available on client side. This is very important for accessibility.


Read Full Tutorial...



Reviews:

Rate and Review This Site

No reviews yet


Statistic Information About this Resource:


Total Hits: 1248
Unique Hits: 1055


  Daily Weekly Monthly
  Unique Total Unique Total Unique Total
Average 1.4 1.4 5.5 6.6 34.7 40.8
Current 1 1 1 1 1 1
Previous 0 0 13 13 41 46
Nov 29 0 0 6 7 41 53
Nov 28 1 1 0 0 56 59
Nov 27 3 3 15 18 51 56
Nov 26 1 1 0 0 43 56
Nov 25 1 1 7 8 40 47
Nov 24 0 0 0 0 0 0
Nov 23 7 7 3 3 38 46
Nov 22 0 0 10 16 36 44
Highest 8 9 26 31 81 98


Script Execution Time: 1.06944 | SQL Queries: 10 | Members: 501
Ajax Tutorial Top List - Powered by Aardvark Topsites PHP 5.1.2