Quantcast
Channel: Editor — DataTables forums
Browsing all 3740 articles
Browse latest View live

Validate class: scope errors in PHP Editor 1.7.0

While upgrading my project to editor 1.7.0, using the following method: Field::inst( 'rooms.room_num' ) ->validator( Validate::minMaxNum(1,999,'.', ValidateOptions::inst() ->message( 'This field...

View Article


Implementing Editor with Ruby on Rails

I'm currently using datatables in my rails project and am looking to get it setup with the editor functionality. I know the main hurdle is setting up the serverside processing script in ruby to work...

View Article


Image may be NSFW.
Clik here to view.

setFormatter not being called on empty Array

I am using EDITOR and one of the fields (named fields) is a multiple select dropdown. It all works fine except when the field is cleared of all selections. In such a case I can confirm that the JSON...

View Article

Stop template element tags from showing before table is loaded.

I am using the template: '#customForm' option which is fantastic. However my fieldset and legend tags are briefly displaying prior to the tabling loading. Once the table begins to load these elements...

View Article

Select Field display in editor

I'm trying to update from an older version of datatables/editor to resolve the multirow editing bug. I have used the generator with the following:...

View Article


Issues With Editor Button Presses

I'm working on porting a project from PHP to Ruby on Rails and am running into some issues with the editor. When pressing the built in "New" or "Edit" buttons in the editor, instead of popping up with...

View Article

Add 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 Article

[fix] SELECT broken in bootstrap in Editor 1.7.0

See editor.bootstrap.js:152: $('input:not([type=checkbox]):not([type=radio]), elect, textarea', field.node() ) Obviously it's a typo in "elect", which must read "select". This breaks "SELECT" fields...

View Article


File Uploading Immediately Triggers a Separate İnsert Operation With NULL...

I am trying the file upload example. i have a row. i am trying to upload a file. 1 file for 1 row. TABLE : rowID | fileName | sysPath | fileSize | tag1 | tag2 ..... i use create button. after (or...

View Article


Unknown column

I receive this error when trying to update a row: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'staff.date' in 'field list' I don't have any reference of 'staff.date' in my editor, but I do...

View Article

Table Grid editing with normalized data

If I have a table like this I can edit it in a grid format. Project ----------------- ID int Title varchar(100) EstimateA varchar(100) EstimateB varchar(100) EstimateC varchar(100) Is it possible for...

View Article

Clear input on focus

I need to clear an inline table input field on focus and replace default value if on blur is blank. I tried a JQuery script in my document.ready function which I have used in other web forms which...

View Article

dependent show hide for popup and inline editors

Hi, I use pop up editor to create new rows and inline editor to edit existing rows. Using dependent() I can show / hide a column based on an options field in the popup editor quite nicely. However the...

View Article


Invalid JSON response when upgrade from 1.6.1 to 1.6.5

Response body in console shows "Undefined variable key in Editor-1.6.5/php/Database/Query.php on line 661" I believe it is objecting to this 'where' clause in my code (best guess): ->where( function...

View Article

Clear focus for inline editing

When I click on a cell for inline editing, it gets the focus and opens the editor. But when I click off of that cell onto another cell that does not have inline editing. the editor closes but the focus...

View Article


Show/Hide fields and its associated json

I do not want to show a certain field created by a join. That is easy. I can easily do editor.field('merchant[].merchantID').hide() on the client side. There is still an issue however, in the console...

View Article

Table scrolls to top after edit

I am using Scroller and Editor. and particular issue I have is with serverside:true. When I edit a row, using either inline or the traditional editor, the table redraws and places me back at the top,...

View Article


Editor 1.7.2 Datetime Fileld Error

Hello, After I updated the Editor to the ver. 1.7.2, I started getting an error while using 'datetime' type fields. Line 5423 in dataTables.editor.js treats them as non edit fields. { label: "Date:",...

View Article

Why do my rendered date values appear in this format? "/Date(1517900400000)/"

I'm trying to show date values in "mm-dd-yyyy" format but all my date values look like this "/Date(1517900400000)/". I didn't see any .NET MVC examples that fit my scenario (or maybe Google didn't...

View Article

Dummy (non-submitting) editor fields

My editor implementation involves some select fields that contain a huge number of options. I'd like to be able to let the user type in some text to filter the options down. One natural way to do this...

View Article
Browsing all 3740 articles
Browse latest View live