Jquery data table does not work if i have text boxes in the rows.
Jquery data table does not work if i have text boxes in the rows.
vijaychauhan
Posts: 0Questions: 0Answers: 0
HI,
When i try to sort my columns it just doesnot sort as all the data that is present in the table is in text box. ie Input type="text". Does any one know why it doesn't work with ?? I am not getting any error on the page apart from this sorting pagination etc are working fine just this sorting does not work. My code snippet: For the first column as there is text boxes it is not sorting.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
DataTables example
@import "../../media/css/demo_page.css";
@import "../../media/css/demo_table.css";
$(document).ready(function() {
$.extend( $.fn.dataTable.defaults, {
"bFilter": false,
"bSort": true
} );
$('#example').dataTable();
} );
Rendering engine
Browser
Platform(s)
Engine version
CSS grade
Internet
Explorer 4.0
Win 95+
4
X
Internet
Explorer 5.0
Win 95+
5
C
Rendering engine
Browser
Platform(s)
Engine version
CSS grade
@import "../examples_support/syntax/css/shCore.css";
When i try to sort my columns it just doesnot sort as all the data that is present in the table is in text box. ie Input type="text". Does any one know why it doesn't work with ?? I am not getting any error on the page apart from this sorting pagination etc are working fine just this sorting does not work. My code snippet: For the first column as there is text boxes it is not sorting.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
DataTables example
@import "../../media/css/demo_page.css";
@import "../../media/css/demo_table.css";
$(document).ready(function() {
$.extend( $.fn.dataTable.defaults, {
"bFilter": false,
"bSort": true
} );
$('#example').dataTable();
} );
Rendering engine
Browser
Platform(s)
Engine version
CSS grade
Internet
Explorer 4.0
Win 95+
4
X
Internet
Explorer 5.0
Win 95+
5
C
Rendering engine
Browser
Platform(s)
Engine version
CSS grade
@import "../examples_support/syntax/css/shCore.css";
This discussion has been closed.