Multi row delete with in-built 'Delete' button where idSrc is a combination...
Hello, I ran into this problem where I am trying to delete more than one rows on Datatables grid (which has been populated with JSON data from AJAX call), and I am getting data of the selected rows if...
View ArticleCheckboxes sometimes not being checked after .update()
I'm running into a strange bug where checkboxes which should appear checked in the editor window do not. When I close the editor window (changing nothing) and simply click "Edit" again the checkbox is...
View ArticleNeed to write data to ID column but display usernames on front end
Hello, This is going to be a long post, but I need to make sure I'm explaining it all correctly I'm so close to figuring this out, but lack the last piece. I am working with the PHP libraries, and I...
View ArticleStoring htmlentities in database?
Dear DTE-Community, datatables editor is a great tool. Just recently I discovered that when saving a text field with "A&B Ltd." it stores "A&B Ltd." in the database. Is there an easy way to...
View Articlevalidate dateformat OR set to null if empty
i have an editor instance which uses a datapicker and is working fine. i would now like to give the user the option of clearing the date field and storing a null value. Field::inst(...
View ArticleEditor set "computed" column
Hey folks. I have a "computed" column in my table which is computed from the values of two actual boolean columns in the DB, which is defined something like the following. Is there some way to use the...
View ArticleAny idea how to hide/show columns in editor
Any idea how to hide/show columns in editor, where colvisgroup is not working in editor
View ArticleautoComplete.js compatibility?
Hello, when using autoComplete to Edit an entry of my database with DataTables I receive the javascript error message Uncaught TypeError: this.source is not a function with several references to jquery...
View ArticleHow do I access the upload file event.
Hi guys, I am using the editor with the 'upload-many.php' script. I also use CKEditor to produce some formatted text with the DESC field. I create a record then drag & drop image files onto the...
View ArticleUpload files in different directorys but using the same file to store...
Hi Allan. I´m trying this but I don´t achieve it. I want to upload files in diferent directories depending the option of my app I use. For example : uploadedfiles/customers uploadesfiles/items...
View ArticleUpload field in a tab
Hi I use "template" Editor´s directive. In my template I use a jqueryui tab to organize fields. If I put an upload field inside this tab, the "Clear" button only works the first time I press it. If I...
View ArticleOrder by in Editor's class
For the first time I needed to use the order by sql since I wanted to return the data from the database already ordered, to my huge surprise I wasn't able to find anything about it. I looked at the...
View ArticleGet data on the remove row to perform added action
I have a editor datatable with a REMOVE button. When I highlight the row and click REMOVE, I would like to update another table with the 'quantity' of the row being deleted but not sure how to get it...
View ArticleUnique date field with formatter
Hi, I would like to make my date-field unique, but I'm using set- and get-formatter (server-side) with the editor. Client-Side: // ... editor = new $.fn.dataTable.Editor( { ajax: "scripts/editor.php",...
View Article1-to-many checkbox grouping
I have the following tables: tbl_1: id, .... (main table) tbl_2: tbl_1_id, tbl_3_id (composite key) tbl_3: id, category, description this structure should work easily following provided one-to-may join...
View Articleextend or override default event from editor?
Hello, I tried to add a jQuery-Line to the default open event of the editor but I didn't got it working. It works, when I do it directly on the editor instance with .on('open', ... but I would like to...
View ArticleMulti-row editor doesn't render value
Hello, I found problem with using multi-row edit option. It doesn't call render function to get initial value. Datatable column:...
View ArticleEditor.remove sends empty ajax request
Hi Allan, I'm facing a strange problem: In the table I have two buttons, one for editing, the other for deleting the entry. $('#tbl').on('click', ...) is triggered for both and edit works perfectly...
View ArticleIs there a way to create (handle) expandable / collapsible editor form..
Basically, what I want is.. on the form there should be a HIDE button .. and when user clicks the button some of the fields (Dynamically added.. using dependent) should be hidden.. and HIDE should be...
View ArticleMySQL inserting NULL values.
I have the following MySQL table: CREATE TABLE `eventorganizer` ( `id` smallint(5) UNSIGNED NOT NULL, `name` varchar(128) NOT NULL, `defaultheader` mediumint(8) UNSIGNED DEFAULT NULL ) ENGINE=InnoDB...
View Article