Getting all records from JQuery Jtable in client side -


How to get all the records in Jason Jettbie from JQuery JTable in the client side.

I need information that I have a project information to include in the DB with a list of authors related to the project. I'm keeping this list in JQuery Jtable.

Click the Save button, I am sending all form data information in the servlet I also want the author list in the JSON format so that I can send it to the servlet.

Is it possible? See my JQuery jtable below

  $ ('# AuthorTableContainer'). Enable jibbles ({title: 'authors', select: true, edit: true, choose: true, // multiselect to enable: true, // allow multiple selection checkboxes: true, // first column actions Show the checkboxes at: {Delete: action} {$ ('# authorTableContainer'). Jtable ('deleteRecord', {key: data.authorId, clientOnly: true}}}}}, field: {authorId: {title: 'Title', '30%'}, name: {title: 'name', width: '30%'}, phone: {title: 'phone', width: '30%', 'authorId' key: true, sorting: right, width: '30% '} '}, Email: {title:' email ', width: '30%'}}}); }};   

I just want to get the list of authors in the JSON format in the customer side

I found the solution We can add Jason object rows by using addRecord method in jtable. Like

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -