Search
23432 results 2601-2610
Forum
- 1st Oct 2024Order by two or more columns by userI have a table that by default is ordered by column 16 descending. If a user clicks on a second column, how do I keep column 16 as a secondary order? For example, if column 16 is number of 'Goals' scored by a list of football players, and then the user chooses to order a second column in that table called 'Appearances', assuming several players have made the same amount of appearances, how do you make them ordered by goals scored?
- 15th Aug 2024how to replace a specific text or word from 2 columns while accessing / loading datatablehow to replace text ''software'' to ''hardware'' or more simply like ''soft'' to ''hard'' from column POSITION and also ''york'' to ''jersey'' from column OFFICE https://live.datatables.net/wegarezi/13/edit
- 2nd Jul 2024set initial search on specific column(s)It is somewhat counter intuitive that option. It should really be a column property... One for an update sometime! Good to hear you found the answer. Allan
- 28th Jun 2024Fixed Columns: unable to hide vertical scroll bar.Can you link to a test case showing the issue please? Thanks, Allan
- 24th Jun 2024Adjusting columns with ResponsiveYes, style="width: 100%" is currently required for DataTables to do its dynamic column widths. That will change with 2.1, which will automatically add 100% width as a style (and thus do the dynamic column widths) if an existing style or attribute width is not found. Allan
- 21st May 2024Example: Rendering Vue Components as ColumnsThanks for posting this! The latest DataTables Vue component does allow components to be used through the use of named slots, as discussed in the manual here. Allan
- 21st May 2024Rendering Vue Components as ColumnsI have been browsing through the forum and have seen some posts like https://datatables.net/forums/discussion/comment/231766/ and https://datatables.net/forums/discussion/comment/220330. I have put together a small example (link below) that might serve as a reference to anyone else searching for this. https://stackblitz.com/edit/datatable-vue3-components
- 22nd Apr 2024Export to csv/excel one columns comes with trailing zeroesMy mistake its actually rounding the value ... correct value - 64295442717783187437 displayed in excel - 64295442717783200000 Please give some advice as i am new to using data tables
- 16th Apr 2024Columns width not same but i cannot reproduceMy guess is you are initialising the DataTable hidden or outside the DOM. Call columns.adjust() when you make it visible. Also, add style="width:100%" to your table. I know you have w-[100%], but that isn't enough (CSS is really hard to parse in Javascript). Allan
- 23rd Mar 2024Issue with multiple columns being marked as sorted when ordered column index is greater >= 10Can confirm that both the issues have been fixed with 2.0.3. Thanks!