File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jQuery Data Tables

 
Steve Dyke
Ranch Hand
Posts: 1602
1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64196
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'd have to check with the documentation of the plugin you are using.
 
Greg Charles
Sheriff
Posts: 2984
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1602
1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2984
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic