Edit Row in DATATABLES using Form.
Edit Row in DATATABLES using Form.
ramakrishna
Posts: 1Questions: 0Answers: 0
Hi,
I'm using DATATABLES for my current requirement. I've form with some user input text like name, age and gender in JSP page. In same page I've HTML table(with headers as name, age and gender) which is modified by DATATABLES. So, After I added data to the DATATABLES, I want to edit that. i.e when I click on particular row in DATATABLE, the row should populate on the same form, Its happening (to add row to the table, I used [code]$('#table').dataTable().fnAddData(arr);[/code]). But when I edit that, it is adding another row(as new row) some where else in the table. So I want simple sample code of jQuery with all DATATABLES API (especially edit the row, settings, fnGetData, fnOpen, fnClose etc.,). Please post as soon as possible.
I'm using DATATABLES for my current requirement. I've form with some user input text like name, age and gender in JSP page. In same page I've HTML table(with headers as name, age and gender) which is modified by DATATABLES. So, After I added data to the DATATABLES, I want to edit that. i.e when I click on particular row in DATATABLE, the row should populate on the same form, Its happening (to add row to the table, I used [code]$('#table').dataTable().fnAddData(arr);[/code]). But when I edit that, it is adding another row(as new row) some where else in the table. So I want simple sample code of jQuery with all DATATABLES API (especially edit the row, settings, fnGetData, fnOpen, fnClose etc.,). Please post as soon as possible.
This discussion has been closed.
Replies
http://editor.datatables.net/
Regards
Claus