Search
11152 results 7391-7400
Forum
- 31st Jul 2018DataTable sorting with a select by html contentHere, a working example: https://plnkr.co/edit/uxjcpk?p=preview You're welcome
- 23rd Jul 2018About Rank Sorting (1, 2, 3, 4-10, 11-20...etc)Hi @ice916 , There was a couple of things wrong - see working example here. column counting starts from 0 the order function needs "-pre" on the end of the name, Cheers, Colin
- 16th Jul 2018How to reload data upon sortingHi @janetcl , I can't really comment on most of that, I'm afraid, it's more of a coding issue rather than a DataTables specific issue which is the intent of this forum. One consideration though, would be your line here: Some ideas I had to approach this issue were to simply reload the table every time a column visibility button is clicked (using ajax.reload()), but I am not sure how to implement it with specificity to the columns that are present ajax.reload() will always reload the entire data, it isn't selective. Cheers, Colin
- 13th Jun 2018Phantom Arrow on Ordering Sorting Column when applying scrollXI think it's being released today, or if not, sometime this week, so keep your eyes peeled! Cheers, Colin
- 9th Jun 2018What to do if datatables searching ,sorting and pagination is not workingAs I said, we're happy to take a look, but it would help, as per the forum rules, if you could link to a running test case showing the issue so we can offer some help. It's not easy to offer a code-level solution without seeing any code - just screenshots. That said, I suspect you're using server-side processing, and that your return data isn't correct. Look at the Ajax tab in this example here, and ensure your responses match the expected format, especially these header values: "draw": 1, "recordsTotal": 57, "recordsFiltered": 57, Cheers, Colin
- 24th May 2018DataTables rows appearing with POST requests but disappearing when sorting the columnsHi @asdutoit, The problem is that you're adding the row to the jQuery table, and not to the DataTable instance - this mean DataTables has no knowledge of it and hence the inconsistency you see with the record count. The best way to do it would be to use the API method row.add(), that way DataTables knows it's there. Cheers, Colin
- 26th Apr 2018Disabling Pagination, Sorting and Search Box in Editor DataTables?thanks @colin :#
- 23rd Apr 2018After scrollY adding have extra sorting row. How to get rid of this row?Hi @Arthur_Sk , It would help, as per the forum rules, if you could link to a running test case showing the issue so we can offer some help. 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
- 27th Mar 2018Can't get file size plug in to work for sorting - getting unknown parameter errorCan you post what the content of orderAttachmentsMap is? If its an object then maybe all you need is this, along with the columnDefs: columns: orderAttachmentsMap If that doesn't help then post the contents so we can see how it lines up with your JSON response. Kevin
- 13th Nov 2017DataTables column sorting not working properly with ISO8601 datesI'm afraid there isn't much help I can offer without being able to debug it. Perhaps the debugger will give me the information needed, but I'm not certain. Allan