Show all rows on the fly
Show all rows on the fly
Hi,
This is my first ever post here so you may expect something very basic. I am really enjoying using datatables. I have got stuck at one point and I hope somebody out there will help me out.
My Code:
[code]
var oTable;
jQuery(document).ready(function() {
oTable = jQuery('#preview-table').dataTable(
{"aLengthMenu": [[10, 50, 100, 150, 200, 250, 300, -1],[10, 50, 100, 150, 200, 250, 300, "All"]]}
);
} );
[/code]
I have wrapped up preview-table in a form. There is a checkbox in first column of every row to select which row to update on submit.
Problem:
Everything works fine other than one thing i.e. Only visible rows are posted.
Work Out:
Here I m stuck. What to do to show all rows on submit so that all visible and invisible rows should be posted for processing.
I hope I was clear in presenting my problem.
Thanks in advance for any help.
This is my first ever post here so you may expect something very basic. I am really enjoying using datatables. I have got stuck at one point and I hope somebody out there will help me out.
My Code:
[code]
var oTable;
jQuery(document).ready(function() {
oTable = jQuery('#preview-table').dataTable(
{"aLengthMenu": [[10, 50, 100, 150, 200, 250, 300, -1],[10, 50, 100, 150, 200, 250, 300, "All"]]}
);
} );
[/code]
I have wrapped up preview-table in a form. There is a checkbox in first column of every row to select which row to update on submit.
Problem:
Everything works fine other than one thing i.e. Only visible rows are posted.
Work Out:
Here I m stuck. What to do to show all rows on submit so that all visible and invisible rows should be posted for processing.
I hope I was clear in presenting my problem.
Thanks in advance for any help.
This discussion has been closed.
Replies
Allan