jQuery jTable plugin in Java Web Applications - An Introduction

Articles on jTable in Java Web Applications jQuery jTable plugin in Java Web Applications - An Introduction Setup and Load Data in jTa...



jTable is a jQuery plugin that is used to create AJAX based CRUD tables without coding HTML or Javascript. In one of my articles I discussed about using DataTable, a jQuery datagrid plugin in Java web applications. One other jQuery datagrid plugin that is comparatively new but with lot of features and rich look is jTable. This article is an introductory article for the series of articles coming up on how to implement AJAX based crud operations and other cool features jTable plugin offers in Java Web Applications (using Servlets and JSP's - Simple MVC Model 2 Approach)




In one of my articles I explained how to fetch data from database using jQuery AJAX. It involves a lot of jQuery code to make AJAX calls and to manipulate DOM for updating table with the response. Same way for other create, update and delete operations, we have to write lot of jQuery code for DOM manipulation. Also, when we have to require data manipulation in several pages, we must repeat the same code in all the pages. This is the reason why we should go for a built in datagrid plugin that will handle all the DOM manipulation functionalities for us and leave us with the job of handling server side code alone. 

Unlike other jQuery datagrid plugins that takes in html table and converts to rich datagrid, jTable takes a div id and automatically generates the html table inside the div. Below list consists of several features jTable possess as presented in the official home page,

  • Automatically creates HTML table and loads records from server using AJAX.
  • Creates 'create new record' jQueryUI dialog form. When user creates a record, it sends data to server using AJAX and adds the same record to the table in the page.
  • Creates 'edit record' jQueryUI dialog form. When user edits a record, it updates server using AJAX and updates all cells on the table in the page.
  • Allow user to 'delete a record' by jQueryUI dialog based confirmation. When user deletes a record, it deletes the record from server using AJAX and deletes the record from the table in the page.
  • Shows animations for create/delete/edit operations on the table.
  • Supports server side paging using AJAX.
  • Supports server side sorting using AJAX.
  • Supports master/child tables.
  • Allows user to select rows.
  • Allows user to resize columns.
  • Allows user to show/hide columns.
  • Exposes some events to enable validation with forms.
  • It can be localized easily.
  • All styling of table and forms are defined in a CSS file, so you can easily change style of everything to use plugin in your pages. CSS file is well defined and commented.
  • It comes with pre-defined color themes.
  • It is not depended on any server side technology.
  • It is platform independed and works on all common browsers.

Let us see how to setup jTable jQuery plugin in a Java web project and list data from database in the next part of this tutorial series. 

Please leave your comments and queries about this post in the comment sections in order for me to improve my writing skills and to showcase more useful posts. Thanks for reading!!

Subscribe to GET LATEST ARTICLES!


Related

jTable 5158795581723122146

Post a Comment

  1. can you please send me jquary jtable with page natation

    ReplyDelete
  2. 토토 Thanks for such a great post and the review, I am totally impressed! Keep stuff like this coming.

    ReplyDelete
  3. 토토 Hi there, this weekend is pleasant in favor οf me,
    since this moment i am reading this grеat educational article һere
    аt my hοme.

    ReplyDelete
  4. 카지노사이트 Generally I don’t learn article on blogs, however I wish
    to say that this write-up very forced me to try and do
    it! Your writing taste has been surprised me. Thank you, quite nice
    post.

    ReplyDelete
  5. Great Post. Thanks for sharing.
    also, join Java Classes in Pune

    ReplyDelete
  6. A Sweet Puff Pipe Case is a compact, protective accessory designed to securely store and transport glass or ceramic pipes. Typically made from durable materials like hard plastic, metal, or padded fabric, these cases provide a snug fit to prevent damage during travel. Many feature shock-absorbing interiors, zippers, and compartments for additional tools, such as lighters, cleaning kits, and filters.

    The sleek, discreet design makes it easy to carry in bags or pockets while ensuring your pipe stays clean and intact. Ideal for on-the-go use, the Sweet Puff Pipe Case offers both convenience and protection, making it a must-have for pipe enthusiasts who want to keep their smoking accessories safe and organized.

    ReplyDelete
  7. Hey everyone, just stumbled upon this thread about ASP.NET GridView pagination. Makes me think of perfectly navigating those snowy slopes in Snow Rider 3D! Finding the optimal path through code can be just as challenging as mastering those gravity-defying stunts. A well-implemented pagination solution really streamlines user experience, ensuring no one gets stuck in an endless loop like trying to complete a tricky Snow Rider 3D level.

    ReplyDelete

emo-but-icon
:noprob:
:smile:
:shy:
:trope:
:sneered:
:happy:
:escort:
:rapt:
:love:
:heart:
:angry:
:hate:
:sad:
:sigh:
:disappointed:
:cry:
:fear:
:surprise:
:unbelieve:
:shit:
:like:
:dislike:
:clap:
:cuff:
:fist:
:ok:
:file:
:link:
:place:
:contact:

SUBSCRIBE


Hot in weekRecentComments

Recent

Spring Security 4 for Spring MVC using Spring Data JPA and Spring Boot

I have been writing a series of tutorials on using Spring Security 4 in Spring MVC application starting from the basic in-memory authentication. In this post, I am writing a step by ste...

Spring Security JDBC Authentication with Password Encryption

I published a basic level tutorial on how to implement JDBC Authentication and Authorization using Spring Security last week. There are few best practices to be followed while implementing secur...

Spring Security 4 - Simple JDBC Authentication and Authorization

In one of my articles, I explained with a simple example on how to secure a Spring MVC application using Spring Security and with Spring Boot for setup. I am going to extend the same example to ...

Java String Split with Pipe Character Not Working - Solution

If you are working on Java, you might have run into this issue when you try to split a string based on a pipe character ("|"). It simply won't work. Split method in Java takes regex as an argumen...

Comments

We Care India:

Such a great design! Keep up the fantastic Keyword!

property consultants in delhi:

Buying and selling property in Delhi in changing market can be tough, but expert property consultants in delhi can make your deals smoother. ...

Arielle Turover Cohen:

“Great explanation of Spring Security's password encryption techniques. I appreciate the way you broke down the BCryptPasswordEncoder with clear examples—it really helped me understand why it'...

techytrends:

Really appreciate how clearly this breaks down JDBC authentication with Spring Security—especially for those of us revisiting core concepts or integrating them into legacy systems. It’s always interes...

course divine:

Online it and non it courses with free certificate https://coursedivine.com/

item