suggestion required

suggestion required

kailasapukailasapu Posts: 7Questions: 0Answers: 0
edited April 2014 in General
hi to all,

I am using the data table and spring MVC in my work. in jsp i created a table and i turned it into a data table . and i am retrieving the list of objects (data) from the session. and i am iterating it and showing in the table. now i am adding the more objects to the list dynamically and i need to update the table with out refreshing the page.i tried with fnDraw() but i didn't get any thing. can any one suggest me how to do it.

thanks in advance

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    The API is certainly the way to go:

    - Add rows: fnAddData
    - Update rows: fnUpdate
    - Delete rows: fnDeleteRow

    Allan
  • ashiersashiers Posts: 101Questions: 8Answers: 7
    Since you're on the Java platform you might want to check out the JED website. It has many examples of how to use DataTables using JSPs and Servlets. http://jed-datatables.ca/jed/
This discussion has been closed.