Search
23432 results 2631-2640
Forum
- 17th Sep 2022Formatting date text outside of columns in expandable accordion (details)This won't work: + {data: d.UpdatedAt, render: $.fn.dataTable.render.moment("YYYY-MM-DDTHH:mm:ss.SSSZ",'Do MMM YY' )} + Basically you are trying to display an object. Just use moment to display the date. See if this works: function format(d) { return '<div class="row"> 'Last Updated: ' + moment(d.UpdatedAt).format("YYYY-MM-DDTHH:mm:ss.SSSZ",'Do MMM YY' )}+ '<br>' + '</div>'; } The syntax might not be correct but it should get you going in the right direction. Kevin
- 7th Sep 2022sort two columns depending on the most recent data enteredin column 3 (causing columns.render to run for column
- 20th Aug 2022C# - Server side Where Clause is overriding client columns searchYou probably just need to use anonymous functions to do the grouping. See the example here. Allan
- 29th May 2022Unable to get result from function while rendering columns using server side processingYou're mixing PHP and JS there - so that's going to be cause problems. Maybe post more code and explain what you're trying to do so we have more context to help you, Colin
- 25th Apr 2022Hi, Im trying to understand that how columns visibility is being controlled by options:buttons.We'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
- 12th Apr 2022Show DataTable columns depending on select option headerThank u and i will keep you up to date if it worked
- 7th Apr 2022Misaligned columns in fixed header table inside modal popup@NoBullMan - Ha, no, that thread is four years old - it was the case at the time! We totally re-wrote FixedHeader (and FixedColumn) in the past year or so, to use the sticky attribute which has made the extension far more flexible, Colin
- 23rd Mar 2022Multi-column layout for five columnsIf you have plan to use bootstrap then same change in bootstrap css
- 3rd Mar 2022I want to export the pdf with its icons in the columns. For this I am using this codeI suspect you haven't included the CSS. We'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
- 28th Feb 2022Displaying sum and average of columns for visible row?This should be helpful: https://datatables.net/reference/option/footerCallback