Search
23432 results 2681-2690
Forum
- 5th Aug 2020Columns sorting issue in datatables with php CRUDhttp://live.datatables.net/
- 10th Jul 2020Is there an option to let users resize columns by dragging the vertical border lines?thx Colin, I'll take a look...
- 18th Jun 2020DTFC_LeftBodyLiner & DTFC_LeftBodyWrapper width difference cause fixed columns misalignmentWe're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here. Cheers, Colin
- 6th Jun 2020add class to individual columnsUse createdCell or createdRow. If the data can change then use rowCallback instead. Kevin
- 5th Jun 2020classes not replicated when columns are foldedThat is correct and expected. We do not currently copy across the classes that were added externally. If that is something you want to do you'd need to use either a custom renderer, or probably easier, use responsive-display to modify the display elements when the details information is shown. Allan
- 27th May 2020Multi-item editing - How to limit selectable (and editable) columns?I just want to add to this to help someone in the future. The method I mentioned of not defining the non-editable fields in the editor instance is not the correct way to go about it. There is the readonly field type which should be used instead. And if necessary, you can use fields.submit to prevent the field from being passed for update. Example: editor = new $.fn.dataTable.Editor( { table: "#example", fields: [ { label: "Name:", name: "name" }, { label: "Position:", name: "position" }, { label: "Office:", name: "office" }, { label: "Age:", name: "age" }, { label: "Start date:", name: "start_date", type: "datetime" }, { label: "Salary:", name: "salary", type: 'readonly', submit: false /* Optional */ } ], formOptions: { main: { scope: 'cell' // Allow multi-row editing with cell selection } } } );
- 20th May 2020Multiplying a columns data by an external input and then displaying those results in a new column.Use columns.render to perform the calculation.
- 18th May 2020Child rows function breaks in combination with fixed columns and scrollXThere are lots of threads discussing this, like this thread. Kevin
- 4th May 2020Columns custom width resetted after scroll down and up (with fixedHeader plugin)Hello @colin , any news? I Noticed that this happens because the "real" gets recreated when the fixed header disappears (scrolling to the top). The regeneration of the thead lose the style attribute of the . Is there a way, by api or config, to avoid the recreation of the thead?
- 29th Mar 2020I can't get sum of column's value after searching(searching with bottom select tag).You have api.columns( 7 ).data().sum(); to get the sum. Use the selector-modifier of { search: 'applied' } like this api.columns( 7, { search: 'applied' } ).data().sum();. Kevin