This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes jQuery Data Tables Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "jQuery Data Tables" Watch "jQuery Data Tables" New topic
Author

jQuery Data Tables

Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1393
In my web apps I populate tables using jstl and make most of the cell content iteractive by making the content hyperlink tags.

If I start using the jQuery Data Tables will this still be possible?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60794
    
  65

You'd have to check with the documentation of the plugin you are using.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Greg Charles
Sheriff

Joined: Oct 01, 2001
Posts: 2840
    
  11

In the plugin I've used (http://www.datatables.net), it takes an plain HTML table and adds data table features to it, like sortable rows, pagination, etc. If your JSTL produces an HTML table, then it will work with the plugin. Remember that JSTL is interpreted by your server. The browser and jQuery only see the HTML it produces.
Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1393
Greg Charles wrote:In the plugin I've used (http://www.datatables.net), it takes an plain HTML table and adds data table features to it, like sortable rows, pagination, etc. If your JSTL produces an HTML table, then it will work with the plugin. Remember that JSTL is interpreted by your server. The browser and jQuery only see the HTML it produces.


Will it take care of page scaling and various display resolutions. This is where I have my biggest problem in web design. I develope on a wide screen with smaller resolution. Then the user has a letter box display with larger sesolution. My web page looks terrible when this happens.

Also I am using IE8. Will this be an issue?
Greg Charles
Sheriff

Joined: Oct 01, 2001
Posts: 2840
    
  11

Well, check it out yourself. It's very well-documented as these things go, and there are many working examples included on their site. It can definitely definitely scale horizontally based on the browser window. Example here: http://www.datatables.net/release-datatables/examples/basic_init/flexible_width.html . Scaling vertically, if you need to do that, may take some toying around, but I imagine it's possible.

There are always issues with IE, but this plugin seemed to work pretty consistently across different browsers. The project I was working on had to support IE 7(!), IE 8, IE 9, FireFox, and Chrome.
 
jQuery in Action, 2nd edition
 
subject: jQuery Data Tables
 
Similar Threads
Submit multipart and form data
copy of files
jQuery datatable server side processing
jQuery to post data without leaving page & textarea CKEditor?