• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

jQuery Data Tables

 
Ranch Hand
Posts: 2211
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You'd have to check with the documentation of the plugin you are using.
 
Sheriff
Posts: 3063
12
Mac IntelliJ IDE Python VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 2211
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 3063
12
Mac IntelliJ IDE Python VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic