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

Right join

We are currently using the following editor setup for the (php) backend: We've got a table of As, which contain an Aid and Bid. This table is left-joined (using $editor->leftJoin()) to the B table,...

View Article


column with dynamic field type ?

I have a table [SystemSettings] with 3 columns { name::string, value::string, field_type::string} however [value] could be any field type data. text textfield upload file select option so, my question...

View Article


pass data from the selected row into a standalone editor

I have an orders table from which I want to use some data (eg OrderID, ItemID) from the selected row as default values in a standalone editor for returning an item. So in my orders datatable, I have an...

View Article

examples not working on my server

Hello, i purchased Editor extension and installed the files on my server. When I run the examplesI always get a dialog with the following error: "DataTables warning: table id=example - Invalid JSON...

View Article

setting multiple rows

I have several days trying to figure out how to set multiple rows programmatically. The scenario is as follows: I'm working with 2 tables By selecting a row with the mouse in table nr.1 I get the row's...

View Article


Undefined Index: data

I must have done something really dumb here, but I can't seem to see what. On editing a record I get in the post "undefined index error" as below: Notice: Undefined index: data in...

View Article

A system error has occurred

i have A system error has occurred in editors when after execute ajax and success ajax and success edited field . how to show A system error has occurred ? thank's for advance

View Article

Returning more than just value and description within joined table for select

Is it possible to return more column data for a joined table that populates a select option control? Currently I have leftJoin between two tables to populate a select control which has the...

View Article


Editor Insert Multiple Data From Existing Table to Other Table

Hello Allan, I have a datatable from a mysql view A that can be edited on client side. After editing, i want to submit all the data to new mysql table B Is it possible to use editor? How to? I read...

View Article


Is it possible to have the Editor dialogs movable?

Editor dialogs are modal and sit on top of my data tables. Thus I cannot reference the data table to place entries in the dialog. Therefore, is there a way to make the dialog movable?

View Article

Placeholder not working for Editor type 'datetime'

The placeholder for type 'datetime' is not working. For type: "select" it is working. Any specific reason why? editor = new $.fn.dataTable.Editor( { ajax: "source.php", table: "#my-table", fields: [ {...

View Article

Upload multiple files

Hello, I need to add a button with a download icon in the edit/create form. How can I do that? Thank you, Franco

View Article

Files Array

I noticed that the files array is outputting all the files in my table even when the correct files are filtered per document. The file names are view-able using standard browser tools for network...

View Article


Need help with "type":"select", options:[ using ajax and database

I have successfully generated select drop-downs that are static (option/value code is fixed). I need to build the "options and "values" dynamically from a database table using ajax. This is associated...

View Article

Table jumps up after data returned from the server

Hi Allan, We are using force.com as our server so we can't your server side plugins. We wrote Api layer a directive wrapping datatable that manipulate the information to/from the server and we use...

View Article


Styling checkboxes

Is it possible to style a checkbox in the editor to something similar to iCheck? Attached image. The code I used for the dataTable is { "data": "TeleMedApplications.Inactive", "render": function (data,...

View Article

Validate::minMaxNum let's me enter value below defined 'min'

How can I only allow 0.0000 as the 'numeric' format ? Field::inst( '1m' ) ->validator( 'Validate::numeric', array( "format" => , "message" => "This input must be given as a number as 0.0000" ) )

View Article


Disable new button once certain row count is reached

Hi All, I've been working a lot with DataTables / Editor and they are fab - great work Allan! I've been searching everywhere for this and cant find any help on it - surprised about that as I would...

View Article

How to use or-operator or grouping

I have two filters which for work: ->where( function ($monthly) { if ( $_POST["selectMonthly"] ) { $monthly->where( 'mr', $_POST["selectMonthly"], '>=' ); } } ) ->where( function...

View Article

In the Editor, how to ajax communicate from table.*.js to table.*.php

The following files were produced form Generator with some of my modifications. When trying to use ajax (table.Unit.js) to communicate to the receiving server (table.Unit.php) using "data:", the...

View Article
Browsing all 3740 articles
Browse latest View live