Can't get a select to work in Editor from server side
I'm trying to create a select for Rolodex.idAccountfield pulling AccountName from a MySQL database Account. I have followed the exact stepa showed in the examples:...
View ArticleEdit feature is not editing the join fields
I'm new using Editor and I'm trying to edit 2 tables with a left join: This is my code which successfully edit fields from the 'Rolodex' table but not from the 'EmailAddress' table: <?php //...
View Articlerow disappears after editor update
I have a datatable/editor page, json sourced data, filtered by a url parameter.(EventID) if my editor syntax is like this editor = new $.fn.dataTable.Editor( { ajax: { url:...
View Articlechanging row colour after editor create/edit
my datatable is rendered so that items on sale are shaded a different colour when the table is drawn "createdRow": function ( row, data, index ) { if ( data.refquality.QualityDescription == 'Sale' ) {...
View ArticleIs it possible to enable horizontal scrolling if filters are used at the...
I have some code carried over from the previous year and it seems to be working all fine. However, recently a feature request was placed to have horizontally-scrolling for a Datatables/Editor instance,...
View ArticleIs it possible to set the title of an Editor form dynamically?
Currently, the title of the Editor form can be changed directly using il8n as follows: editor = new $.fn.dataTable.Editor({ ajax: "myPage.php", table: "#myWebTable", fields: [ { label: "My field label:...
View ArticleHow can I allow users to type in their own options in a dropdown?
Hello, I need to have a dropdown in my Editor table where users can type in a new option if they one they want isn't listed. I'm doing this in a non-Editor dropdown using select2 because I also need...
View ArticleInserting a row for inline editing in an unsorted table and rows.addClass()...
DataTable 1.10.5 and Editor v1.4. Inline editing and data source is JavaScript. I understand that there is no API method to insert a row. That normally one would add a row and it is immediately sorted...
View ArticleIm looking for an example of using an Inline Select...
I've got the Grid view and Editor working well for regular inline edits, but I cant seem to figure out the trick for supporting the Select. so far, when I click the td, the dropdown appears, and I can...
View Articledependent() method with inline editing
Hello! I'm using inline editing and I'm having trouble using the dependent() method on a select type field. The event should be triggered only when the value of the select is changed, but instead it...
View ArticleHow do I echo-out table-join statements that include where_group()?
I came across some interesting methods in class Query for Editor, seen here at (http://editor.datatables.net/docs/1.4.0-beta/php/source-class-DataTables.Database.Query.html#574) and I have been using...
View Articlevalidate fields with only letters
Hi I need to validate fields in the editor that only allow letters , I tried something like this public static function sololetras ( $val, $data, $opts, $host ) { $cfg = Validate::_extend( $opts, null,...
View ArticleHow to handle an in-line edit failure
I am not sure how I could display an error dialog on a failed in-line edit with this example: http://editor.datatables.net/examples/inline-editing/simple.html What should the json response be on an...
View ArticleHow to open your 15 day tried limited after buy your license
Hi I have paied one developer license. But I can't get any feedback. How to open the 15 day limited. Thanks!
View ArticleJoin two tables "problem in edit fields in the second table"
I joined two tables through a link table, but I want to update a data of the second table does not, instead inserts a new row in the second table. that I can be doing wrong. thank you for your help
View Articlerender the editor in a specific div
Hi, is it possible to render the editor in a predefined div? Rationale behind this is a "listing - detail" scenario, where the DataTable only displays a fraction of the available data whereas the...
View ArticleValidation not working
hi, In my table I have two text fields where the user sets 2 numbers, greater_than and lower_than. Obviously there has to be greater_than<lower_than, so I have the following code: $('input',...
View ArticleSet default value of select (in editor edit mode) using value from GET variable
i want the select list of my editor instance to default to a value from a url variable (in edit mode), if it has no value set already
View ArticleConvert diplayed data
Hi, Is there a way to convert the data while using Editor. For example we store the data in pounds but we want to display it in tons. So I would like to convert the field by dividing by 1000. (this...
View ArticleGet row number in display order after sort?
DataTables 1.10.5, Editor 1.4 JavaScript array is the data source. Using inline editing. The values change programatically in the column that the table is ordered by. The table sort works just fine....
View Article