Search
43569 results 7211-7220
Forum
- 23rd Feb 2015Column sorting for textbox inside tableHi, https://datatables.net/examples/plug-ins/dom_sort.html As like in the above demo, I have one Amount column. And while displaying the amount we are applying the comma separated for the amount. Then we found that the sorting is not working. Please give some valuable solution for this issue. Regards Santosh
- 23rd Feb 2015how to save in table to *.txt file without quotesI find this disc.: http://datatables.net/forums/discussion/9468/how-can-i-export-data-to-txt but it saves with quote mark. I need without the quotes. Code, that I use: $('#table_users').dataTable( { "dom": 'T<"clear">lfrtip', "oTableTools": { "sSwfPath": "http://datatables.net/release-datatables/extensions/TableTools/swf/copy_csv_xls_pdf.swf", "aButtons": [{ "sExtends": "csv", "sFileName": "uids*.txt", "sButtonText": "save txt" }], "oSelectorOpts": { page: 'current', "filter": "applied" } } } ); Sorry for my english and sanks :)
- 19th Feb 2015Data table with MVC jsonresult does not seem to functionhttps://debug.datatables.net/ecirab Above is my debug. I was having issues getting my datatable to load json being passed to it via an ajax call. I decided to force my json call to return the same json used in the ajax exaple provided on this site (just to see it working) Yet I still receive the following error "jquery.dataTables.js:3287 Uncaught TypeError: Cannot read property 'length' of undefined" I have googled around and saw different reasons for this error such as not defining the containing array with in the Column parameter. Yet the example seems to imply that this is not needed. Which makes me assume "data": is default. Any idea what I am doing wrong> Debug above.
- 14th Feb 2015Reload javascript source tableHello, I have a datatable with javascript source array data. On button click this array is recalculated and i want to reload the datatable. How i can do it? Thank you in advance!
- 13th Feb 2015Passing data between table in different pageHi, I've an important question. I need to pass the selected row in a datatable in a new datatable prensent in a popup windows. How I can do it? Can you help me please?
- 28th Jan 2015How would i display sPdfMessage in Html Table Format?e.g I want to display PartyName in 1st Cell and Company Name in 2nd Cell of HtmlTable as sPdfMessage! Is It Possible to append Html Tags with sPdfMessage?
- 16th Jan 2015Apply table cell to specific stylehow to apply row's td to css class from json data.
- 6th Jan 2015I'm having a problem changing the default sort order on a table.I've used the example from the documentation - $(document).ready(function() { $('#example').dataTable( { "order": [[ 3, "desc" ]] } ); } ); But it still the first column which is being sorted. any idea where I am going wrong?
- 3rd Jan 2015search is not working in jquery datatables with dynamically populated tableI am having trouble with datatable search ,even though data is present in datatable search always shows "No matching records found" . I am using jquery datatable plugin. I am populating some column's data dynamically and creating some columns for user to input some data later on . Here is the snippet of my code : - <script src="media/js/jquery.js"></script> <script type="text/javascript" src="js/jquery.min.js"></script> <script src="media/js/jquery.dataTables.js"></script> <link href="media/css/jquery.dataTables.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="js/bootstrap.min.js"></script> <link rel="stylesheet" href="css/bootstrap.min.css"> <script src="extensions/Plugins/integration/bootstrap/3/dataTables.bootstrap.js"></script> <link rel="stylesheet" href="css/bootstrap-multiselect.css" type="text/css"> <script type="text/javascript" src="js/bootstrap-multiselect.js"></script> <link rel="stylesheet" href="css/bootstrap-theme.min.css"> <script> $(document).ready(function() { $('#dbResultsTable').dataTable( { "bJQueryUI": true, "sPaginationType": "full_numbers" , "paging": true, "ordering" : false, "scrollY":false, "autoWidth": true, "info": true , "lengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]], "dom": '<"top"iflp<"clear">>rt<"bottom"iflp<"clear">>' } ); $('.companyNamesClass').multiselect({ enableFiltering: true }), $('#dbResultsTable').on('draw.dt', function () { $('.companyNamesClass').multiselect({ enableFiltering: true, }); }); }); </script> <body> <table width="1698" cellspacing="0" class="elements" id="dbResultsTable" > <thead> <tr bgcolor="#33FFFF"> <th>Student</th> <th>BranchName</th> <th>Year</th> <th>Company</th> <th>Pkg</th> </thead> <tbody> <c:forEach var="indexMap" items="${requestScope.studentMap}"> <tr><td><input type="textbox" value="${indexMap.key}"></td> <td><input type="texbox" value="${resultMap.value}"></td> <td>2010</td> <td> <select name="compnayNames[]" class="companyNamesClass" multiple="multiple"> <option value="Apple">Apple</option> <option value="Google">Goolge</option> <option value="Tata">Tata</option> <option value="IBM">IBM</option> <option value="Other">Others</option> </select> </td> <td><input type="textbox"></td> </tr> </c:forEach> </tbody> </table> </body>
- 18th Dec 2014Fixed column width overlapping tableI'm using dataTables on two different web pages but it's behaving differently on each. One page works fine and as expected, here: http://www.huts.org/cohutsyurts/amenities.php . The other page had the fixed column on the left overlapping and not lining up correctly with the thead and other td's in the row, here: http://www.huts.org/Reservations/Hut_Amenities.php . The second page does have an additional stylesheet but I haven't found any conflicting styles being applied by it yet. I don't expect anyone to debug this obviously, I was just wondering if this is a common problem or one that has a known fix or anything.