Select2 Filtered Row Won't Edit
Hi Allan, I want to filter row using select2, then edit field value from selected row using editor edit button. My problem is, the value won't updated I load the ajax using data: function ( d ) {...
View ArticleEditor Left Join Inside Mjoin
Hello Allan, Is it possible to put LeftJoin inside Mjoin? I want to create a child detail row like this example with one ( tr_delivery_head ) to many ( tr_receiving_detail ) direct table. My code...
View ArticleList with image
Hi Allan, Is it possible to make a name list to display an image in datatable and store the address of the image in the database ? Exemple (definitely false) { label: "Priority:", name: "priority",...
View Articleupdate table using preEdit to set field value
I have a users table where the site permissions are set using an integer variable in a field userLevel. The userLevel is set from a select list, superadmin=1, admin=2, member=3, contact=4. The admin...
View Articleservlets for dropdown list are running infintely
There are several dropdowns in new window. The options of dropdowns are populated with json data correctly. But the servlets are running continuously. Here is code snippet: Could you pinpoint what is...
View ArticleMaximum multi row edit?
If I select any number of rows and multi edit a column only the first 12 rows actually get updated with the edit. Is there a hard coded limit or am I doing something wrong? Thanks
View ArticleButtons - copy, excel etc not shown
I must be missing something here, I have a datatable with editor, and i have new, edit and delete buttons visible and working on my page. I want to be able to add copy and excel export, so I have...
View ArticleUsing textarea type fields
Hi Allan, please excuse me if this is a stupid question, I looked for it before asking. We initialize the editor in one of our tables with new $.fn.dataTable.Editor(editorOpt); where editorOpt.fields...
View ArticleEditor on preEdit with Condition
Hello Allan, Is it possible editor on preEdit with Condition based on other field? ->on( 'preEdit', function ( $editor, $values ) { $editor ->field( 'act_log.log_status' ) // condition here...
View ArticleAuto Check Dynamic Check boxes
I have made dynamic check boxes using: {label:'Users', name:'rightsManagement[].users', type:'checkbox' } This will accept simple json structured like this: { "rights": { "users": [{"label":...
View ArticleEditor, PHP scripts
Just wondering: in the PHP scripts delivered with the Editor examples the PHP code is started with <?php but never closed with ?>. Is this intended and even a necessity or a lapse?
View Articlereoder fields doesnt seem to work
_.forEach(obj.tableCols, function (o, key) { debugger; if ( _.has(o, 'complexList')) { obj.editor.clear(o.name); o.type = 'text'; obj.editor.add(o, null); } }); fields are removed and added with new...
View ArticleSoft delete solution
I saw some posts regarding soft deletes, i.e. not removing a row but instead setting 'deleted' to true. Here's my solution for this: First, change the _trigger method in Editor.php so that it will...
View ArticleHow setup bubble formOptions for my application
Hi Allan How can setup bubble formoptions for all my bubble editor fields like you do in Editor.models.formOptions in dataTables.editor.js in order to not setup everytime I use bubble Editor Thanks
View ArticleClient Side Validation
When I add the preSubmit code from here: https://editor.datatables.net/examples/api/clientValidation.html It always seems to say that it is "inError" the first time I click the submit button. Then the...
View ArticleAuto Increment Serverside with Intial Value on Edit
Hello Allan, I want to create auto increment number on serverside on field tr_receiving_detail.dom_no I'm using this code to populate the auto increment ($a) on the top of my php file $sql = "SELECT...
View ArticlePrevent blur closing the form field
Hi Allen, Is there any way to prevent blur closing inline editor, so I can close it programmatically. See I have a custom editor filed that opens a modal, but as soon as I start interacting with the...
View Articleblur() Focus on Open
Hi guys, I want no focus on the first input field when I open the editor. What is the best approach? This code does not work: editor.on( 'open', function( e, mode, action ) { $('input').blur(); });...
View ArticleAvoid focus in select2 fields or disable auto focus in specific fields
Hi! Is it possible to avoid the automatic focus in the first field when it is a select2 field? If that's not possible, is it possible to manually stop the autofocus for certain field? The problem is...
View ArticleIgnore some of the properties in the Model .NET
Hello, Is there anyway I can let Editor ignore some of the properties in a model?
View Article