One table with two primary key
How to pass the id in "one table with two primary key" case? Editor::inst( $db, 'RacingGroupRoute' , array('RacingID','GroupID') ) show error : Primary key data doesn't match submitted data
View Article2nd Editor in dialog seems unresponsive.
I'm working on an application that uses Datatables to list some main entities. Upon selecting one and clicking "Edit" the form appears in a Bootstrap dialog with tabs. On one of these tabs is another...
View ArticleAdding bootstrap tooltip to field label in editor
I've been trying to incorporate the bootstrap tooltip into the editor field's label for an upload field so that the users can know what type of file to use. However I'm running into the issue of...
View ArticleCharacter counter in text fields.
I was wondering if editor has a built in character counter for text fields and display within the text box or outside. I haven't been able to find anything on it. Any help appreciated.
View ArticleEditor modal button has invalid Bootstrap classes.
The editor gives the "save" button on the edit modal something like: btn btn-outline-secondary btn-primary https://editor.datatables.net/examples/styling/bootstrap4 This is not valid for BS 4.3.1 which...
View ArticleEditor AutoFill and KeyTable together Problem
This example is very helpful for me, but when I use this function, I found that when I open up the input element, I try use the autofill ,but It doesn't work。Only I should close the input element first...
View ArticleEditor returned json on create does not include data
Hi. I am having an issue where after using a basic popup editor to add a new record, nothing is returned in the data object. The row is still added to the database and on the server-side (PHP) I can...
View ArticlePrimary key data doesn't match submitted data - Composite Key
Try as we might, we keep getting this response from the editor. Any suggestions? Thanks **Primary key data doesn't match submitted data. ** [HttpPost] public ActionResult SolutionsUpdate() { string...
View ArticleEditor screen showing on bottom lefthandside?
For some odd reason my editor pop up is part of the main screen? on the bottom lefthandside?>
View ArticleField won't be saved (preGet)
Hello, i would like to have only those entries displayed from a "dropdown", for which you have the corresponding authorization. this works so far, only that the field...
View ArticleMjoin - additinal fields besides the composite keys
In the 1-to-Many example here is it possible to have additional fields in table user_permission for example expiry_date user_id | access_id | expiry_date how to read this new field considering the...
View Articlebuttons.buttons.titleAttr for tooltip
I only want to show a tooltip using buttons.buttons.titleAttr when the buttons is disabled. How is this done?
View ArticleUsing async SetFormatter for password field in node.js
I would like to set my password field with a SetFormatter that will set a crypted password. new Field('password') .setFormatter((pass)=>{ bcript.hash(pass,12) .then((cripted)=>{ return cripted});...
View ArticleSave datatable editor varchar as UTF8 - .Net
Hi everyone! I have a problem with datatable editor. I need to save a varchar field as utf8 with spanish accents, but it is saving ascii code instead. I need to save 'á'. Datatable editor .Net: public...
View ArticleHow to pass Master RecID?
Hello I am still looking to get the hang of Editor and Datatables I am trying to set up a master- details view of which seems to work to some extend. The issue is when I try to add a detail record I am...
View ArticlepreEdit - How to reference field when using JOIN?
Hello, Using Editor, I have a JOIN, and am trying to use preEdit. I keep getting "Undefined Index" errors on the server. ... Field::inst( 'people.id' ), Field::inst( 'people.role' ), Field::inst(...
View ArticleSQL General error: 1366 when using MySQL 5.7 and id and insert
I recently upgraded from MySQL 5.6 to 5.7, which operates in STRICT mode. I've noticed that now when I display a table that includes the id as a column and I enter a new record with Editor, I get the...
View ArticleEditor Form Buttons Class Override.
I'm using Bootstrap 4, the latest Datatables (from CDN) and Editor. I'm having a problem overriding the classes for the form buttons that appear in the dialog. For example, I have: { extend: 'edit',...
View ArticleExample similar to DataTables.net Account Details page
I'm looking to implement functionality similar to the "Invoice details" portion of the DataTables.net Account Details page (https://datatables.net/account). In particular, filling in the table data as...
View ArticleSet default date for date picker
For date fields I can set a default date through field('..').def(). However, I prefer to not have the date fields pre-populated, but only have the date picker be positioned on a default value. For...
View Article