Search
18877 results 681-690
Forum
- 26th Oct 2017how to create watermark in all my print pages?** Using this code watermark display in first page only.... ** customize: function ( win ) { $(win.document.body) .css( 'font-size', '10pt' ) .prepend( '<img src="assets/img/Logo.png" style="position:absolute; top:400; left:300; bottom: 1500; opacity:0.2;" />' ); $(win.document.body).find( 'table' ) .addClass( 'compact' ) .css( 'font-size', 'inherit' ); },
- 23rd Aug 2017Can I create Corda Custom Data Tables?Node and Vault tables created every time when I
- 9th Mar 2017How can we create multi value search for specific column using datatable?I have added multi select dropdown instead of search text box and i want to search result based on checkbox selected in this dropdown. Can you plz help me?
- 16th Feb 2017How to create row Vertical sum?Example :smiley: value | Sum 1 | 1 2 | 3 3 | 6 4 | 10
- 16th Jan 2017how to create filter,search and curd opration all in form using java dao,bean,servlet?hi , this is Ravinaidu.please send that code with full examle urgently
- 14th Dec 2016How to create column headers that show a dropdown to dynamically select which columns to displayI'd like to have column headers that include both the column name, and a dropdown that would allow the user to select which columns they want to display. The means of selection would be a checkmark or a checkbox by each column name in the list. I've attached a screenshot of what I'm looking for, from another web app. If they uncheck a column name from the dropdown, that column would disappear from the table, and vice-versa. What I'm looking for involves several pieces: 1. Creating a column header that can display the dropdown list of columns to select from 2. The checkmarks persisting on the page, once selected 3. Re-rendering as soon as a column is selected or deselected from the list. (I believe this part will be simpler, once I get #1 and #2... but I could be wrong, so I'm interested in anything anyone can tell me about this as well) I've been told that DataTables can do this, but I don't see anything obvious in the DataTables documentation. (Nor in general web searches, looking for this functionality in DataTables and other tools.) Does anyone have any ideas? I appreciate any and all ideas! Thanks
- 25th Apr 2016How can I set the (pdf, excel,..) buttons to create a file from the filtered rows?Because I found a solution that used https://datatables.net/extensions/tabletools/ but this extension is retired. How should I proceed? This is a piece of my code, concerning the buttons: dom: 'Blfrtip', buttons: [ 'copyHtml5', 'excelHtml5', 'csvHtml5', 'pdfHtml5' ],
- 11th Dec 2015Create a New Button CollectionHi, I am using a button collection which is extended from built-in html5 buttons. var table = $('#myTable').DataTable({ ........ buttons: [ { extend: 'csvHtml5', title: 'My Leaves', exportOptions: { columns: [5, 6, 7, 8, 9, 10, 23, 24] } }, { extend: 'excelHtml5', title: 'My Leaves', exportOptions: { columns: [5, 6, 7, 8, 9, 10, 23, 24] } }, { extend: 'pdfHtml5', title: 'My Leaves', exportOptions: { columns: [5, 6, 7, 8, 9, 10, 23, 24] } }, { extend: 'copyHtml5', text: 'Lưu Bộ Nhớ Tạm', exportOptions: { columns: [5, 6, 7, 8, 9, 10, 23, 24] } }, { extend: 'print', text: 'In Tất Cả', title: 'My Leaves', exportOptions: { columns: [5, 6, 7, 8, 9, 10, 23, 24] } } ] ..... Now, I want to add my own collection- a new button named "Actions" and when I click on it, the "ADD, DELETE,EDIT" buttons will be shown down. Please help me to do that. Many thanks.
- 16th Nov 2015how to create ajax's datatables using 2 table of mysql?Hi everyone, i need to do a table using data of 2 (or more) tables of my database (mysql) using ajax and php obv. for 1 table i'm using this code: <?php /* * DataTables example server-side processing script. * * Please note that this script is intentionally extremely simply to show how * server-side processing can be implemented, and probably shouldn't be used as * the basis for a large complex system. It is suitable for simple use cases as * for learning. * * See http://datatables.net/usage/server-side for full details on the server- * side processing requirements of DataTables. * * @license MIT - http://datatables.net/license_mit */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Easy set variables */ // DB table to use $table = 'table'; // Table's primary key $primaryKey = 'primarykey'; // Array of database columns which should be read and sent back to DataTables. // The `db` parameter represents the column name in the database, while the `dt` // parameter represents the DataTables column identifier. In this case simple // indexes $columns = array( array( 'db' => 'cod', 'dt' => 0 ), array( 'db' => 'description', 'dt' => 1 ), array( 'db' => 'date', 'dt' => 2, 'formatter' => function( $d, $row ) { return date( 'Y/m/d', strtotime($d)); } ) ); // SQL server connection information $sql_details = array( 'user' => 'root', 'pass' => '', 'db' => 'db', 'host' => '127.0.0.1' ); /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * If you just want to use the basic configuration for DataTables with PHP * server-side, there is no need to edit below this line. */ require( 'ssp.class.php' ); echo json_encode( SSP::simple( $_GET, $sql_details, $table, $primaryKey, $columns ) ); anyone can help me? thanks so much!
- 9th Jul 2015Editor: Create and then Select New Rowhappen. New row is created via editor, after creation