Column Search - Prefix match
I'm using column search fields, and would like to execute the search on a "Starts with" basis or the equivalent of LIKE "<search string>%" in SQL. Right now it matches the characters anywhere in...
View ArticleGet the field (hash keys) used to get data for a column
I have run into a problem due to a working with legacy data and I really do not want to redo the DataTables support. I have several tables with column "titles" and populate the row from a hash using a...
View ArticleField Currency
Hi, I have a field named "payment" in my database is type float, In the datatable only show the number like this: 4567.56 I would like set a mask to show like this: $4,567.56 how I can do it?
View ArticleServer side, column sorting with render function
I suspect that the answer is right in front of me but I am having trouble trying to get my data tables to sort properly when rendering data through a function such as: ` columns: [ {data: 'work.id'},...
View ArticlePlugins i18n using external file
Using file for datatable i18n is useful, but this is not possibile for plugins such as editors os select. These plugins use translate string inside the costructor and is not possibile using an external...
View ArticleTables with more than 91,000 records
Hi, Allan, it's me again. This time, I try to show results in datatables that contains more than 91,000 records. If I use datatables, I receive messages like: If I use Editor: (I'm using SQL SERVER...
View ArticleTrying get the example "Always shown checklist" working in my environment.
My first question is about the data. I took the data under "Ajax load" and put it in a file. Can that file serve as my data source, or do I need to load that data into a database?
View ArticleLimit number of pages in pagination
Is it possible to set the max number of pages displayed in the pagination? It is needed for the case when the actual number of pages is too huge and requesting data for last pages may impact server...
View ArticleHow to use `cell().index()` to get header text from selected column
I'm looking at cell().index() and while I am able to get the correct row and column numbers when clicking a cell in the table, I was wondering if I could instead get the column header text of the...
View ArticleTable as Form
Hello, I have a table created by Editor/Generator, so , I would like in my front-end the HTML view as form, not a table. Could be it possible? It means something like that: First Column Initial Time:...
View ArticleColumn width resizing on load
Hi, I had to add an additional column to my table and now it stretches well beyond 100% of my window. I'm trying to understand why on initial load it's respecting my code: var table =...
View ArticleHow to preserve data filter after sort/search
I have looked on prior answers to this question and see "this documentation is for prior versions of data tables..." In my scenario, I this function that filters a table. This command initializes the...
View ArticleHow to date sort as date instead of string
I never noticed this until I actually needed to sort by a date. All my dates are in USA format (dd/mm/yyyy) but sort as they are strings. From what I read in various forum answers, I was under the...
View ArticleHow to use `column().search()` on different columns using different search...
I have a scenario where I need to filter column 4 by one term and column 5 by another. While the first statement works as intended, the second statement never happens. How can I make sure that both...
View ArticleCan't seem to edit fields before submission
I tried both .on('initSubmit', async function( e, a ) { map = await teamNameMap() team_id = editor.field('system_name').val() team_name = map[team_id] editor.field('subsystem').val(team_id)...
View ArticleAjax data parameters not working
I'm trying to populate a datatable with server side processing and have set the serverSide option to true with the following ajax configuration. ajax: { url: 'get-data', type: 'get', contentType:...
View ArticleMjoin get Error
Get error when use Mjoin Message: explode() expects parameter 2 to be string, object given Filename: Database/Query.php Line Number: 393 server script : public function loadsurat($post) { Editor::inst(...
View ArticleDate formatting using inline editing with date picker.
I trying to figure out how handle date formats using DataTable Editor, with inline datepicker. I am using a SSP script to retrieve and update my database. The field I need is stored in the DB as...
View ArticleDifferent AJAX queries for DataTable and Editor
I have some complicated data that I'd like to show in addition to the data that's available to edit. In this specific case, I'd like to show a table that acts as a scoreboard where the game data is...
View Article