Editor - Using 'Edit' to make new rows on separate table
I will freely admit, I expect this is a silly question. I don't have any expectation that DataTables would (or should) cater to the scenario it involves. Frankly, DT already goes above and beyond the...
View ArticleEditor: add ID to Bootstrap modal for size change
I'm wondering if it's possible to add some ID to Editor Bootstrap modal, so I can change modal size? I need this since I have a table in my other modal and then within that modal I would launch Editor...
View ArticleTwo related dependent fields looping through each other
I have two fields in the editor, where they are each dependent on each other. The fields are Altitude and Atmospheric Pressure. The way this works is that some users that visit the page would require...
View ArticleEditor - Excel button exportOptions - modifier: {selected: null} invalidates...
Hi, the demo can be viewed at https://nfctech.eu/datatables/editor-select2-bootstrap.html The code is { extend: 'excel', title: null, exportOptions: {columns: [1, 2, 3, 4]}, className:...
View ArticleSetting default time for time picker
Another one for the mighty Allan I think. Is there an easy way to set a default time when the time picker widget displays or initially sets the time in an input field? At the moment it defaults to the...
View ArticleEditor cell width increases drastically when editing in inline mode. Why ?
Hi everyone, I have a simple datatable with editor features. Very basic. I use the inline mode. However when I click a cell to edit it, the width of that cell increases a lot, which is not pretty at...
View ArticleUsefulness of `function(e)` when activating inline edit on table cell
I've been using this snippet since day one to enable inline table editing. Clearly it works, but ReSharper keeps suggesting I remove the "unused" parameter e. I'm just curious if there any undocumented...
View ArticleEditor: different template for "Add new" record action
I have this piece of code where I try to implement form template change when "New" record button is clicked: var editor; // use a global for the submit and return data rendering in forms (function() {...
View ArticleHow to use user defined postgresql functions with datatables editor?
Hey, i have a question about how to use my own postgresql functions with the editor. I have managed to implement quite a lot of functionalities but I am still struggling with this. For example, I...
View ArticleIs there an issue with ckeditor5 balloon? Seems not to work with plugin.
Hello all, it seems that the ckeditor 5 plugin does not work if type is ckeditorBalloon. ckeditorClassic runs fine with the same example. But if I change to ckeditorBalloon, the editor field will not...
View ArticleRounding issuse
I am having a problem with rounding in DataTable Editor and I need some insight on why this calculation is not returning the correct result. I suspect it is happening in the front-end JS. I may need a...
View ArticleBug Report : Editor Row Reordering Not Working
I use Editor 1.7.4 and RowReorder 1.2.4 , when i drag the row and change the position, and i don't see any ajax post request or error in console, i found the bug code is var id = dt.row( endNodes[i]...
View ArticleInline edit always posting boolean / bit field
During an inline edit of a cell, one of the editable columns in my table (IsActive) - a boolean - always posts back along with the current cell being edited, e.g.: "action" : "edit", "data" : { "69730"...
View ArticleidSrc required when ajax option is not provided?
Editor is saying 'Unable to find row identifier'. My understanding is that it should use the internal DT_RowId as it does when ajax option is provided. Is this an editor limitation with ajax-less...
View ArticleDefault global custom messages (transations) for the validators
How can we set the default custom message (translations) for the validators? For example ->validator('Validate::notEmpty'). I would like to set the custom messages globally not just for the...
View ArticleAdd Options in Database
Just wanted to share this solution to add options that are saved in a database when users enter new options. I hadn't found a solution for this with the PHP options instance because it only seems to be...
View Articleeditor set value as boolean for a checkbox sends an array instead of a boolean
I have a backend server that is expecting a response in the form of a boolean. I've been following this example exactly as what is posted in this demo example:...
View ArticleEditor PHP Lib small enhancement
Hello Allan, there is a little thing, that could be improved in the DT Editors PHP Library, in file ./php/Editor/Editor.php on Line 1543 change this $query->where( $this->_ssp_field( $http, $i ),...
View ArticleJoins with multiple related tables
Can I have two separate tables joined to my main table? I have a trouble ticket app where a ticket may have zero or more notes related to it, and one vehicle related to it. I've built 3 apps that have...
View Article