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

Field Set Value from a different location

This calls out a computer name: var url = "/api/cdi_master/GetLogin"; $.get(url, null, function (data) { $("#rData").val(data); }); Right now it passes to a location on my page but I would also like it...

View Article


Edit array of objects inside another editor

Hi! I have an array of objects that I'd like to edit, inside another editor. It's almost the same as the form in this link: https://editor.datatables.net/generator/index Is there a way to accomplish...

View Article


Unique Validation ONLY for specific value and NOT whole column

The below filters the table by 'user_id'. Yet the 'unique' validation for 'name' is for the whole column. How can I validate 'name' ONLY for specific 'user_id' provided by $_POST["selectUserID"] ?...

View Article

Inline Editor - after edit, change color of another cell

Using the inline editor, after making the edit, I want to change the color of a different cell if something was entered that needs to be called out. For example, you inline edit a numeric field, and...

View Article

Dependent() only once and not infinit times

I want to .search().draw() or .ajax.reload() a table based on a select change of an editor field. In both attempts, the below filtering or the reload, the request runs 'infinite' times. How can I...

View Article


Month missing from datepicker in Editor

We have a simple editor that pops-up a data entry box with three elements when clicking Add or Edit. One of the three elements is a date. When we click into the date field, the datepicker is showing...

View Article

Editor Image Upload - how do you store image height/width?

How do you store the height/width of an uploaded image? I can store the image URL and validate to make sure the image is a certain size but I can't find a way to store the size of a successfully...

View Article

Why isn't my checkbox working.

Not sure what I am doing wrong here, the checkbox seems to work but is never displaying as checked in the table. Pretty sure this is something simple somewhere. //setup the editor editor = new...

View Article


Issue with creating hashed passwords with characters using the Editor

My app creates and stores in the database hashed passwords via: Editor::inst( $db, 'contacts' ) ->fields( Field::inst( 'credential' )->validator( 'Validate::notEmpty' ) ->setFormatter(...

View Article


How to add a title line in the form ?

Hello How can I add a line to separate 2 fields in the form ? Thanks

View Article

Counting values available in another table

How can I count values available in another table? I would like to count (or have the number) how often a value (table_01) is available in table_02 and display it in column count of table_01. I'm using...

View Article

Data tables with MSSQL

I am trying to connect datatables with mssql but i am having a bit of an issue. Any insights. see errors below: call_user_func() expects parameter 1 to be a valid callback, class...

View Article

extra headline in modal

For the better understanding of our users, it is necessary a subheading in modal content insert. In the Form there are some fields, they need a information TAG (DIV, P, H..) to insert the right Data in...

View Article


Datatable Editor with Select2 4x, Tab Key Not Working

Hi Allan, Since using Select2 4.x on Datatables Editor, I can't use the Tab key to navigate between field. Tab key working on background, not on the modal form. Note: The Tab key works perfectly on...

View Article

change format of submitted inline ecits

i am using some code Allan provided to send data to my server in a simplified format and it looks like this: action:edit EmployeeID:15 LastName:Frazzetta but i want it to look like this: EmployeeID:15...

View Article


uploadMany - not sure I am using it right

Setup first... Editor: editor = new $.fn.dataTable.Editor( { table: "#events", ajax: { url: URL_EVENT_DT_EDIT, method: "POST", data: function ( d ) { d.csrfmiddlewaretoken =...

View Article

Date(time) format problem

Hi all I'm using datatables in conjunction with the editor library for inline editing. In my date(time) fields I can't seem to define a format that will only be used for display and editing because I...

View Article


how to get newly added data through submitsuccess

editor.on('submitSuccess', function (e, json, data) { }

View Article

Query and update another table for default value for field

Hello I'm trying to work out how to do this and not having much luck... So I know I can set the default value of an editor field (https://editor.datatables.net/reference/option/fields.def) But I need...

View Article

type radio with def value, not taking changed value on editor standalone...

Hi, I'm in trouble with option "changed" of standalone and radio button. I have one field set with a default value : "portrait" when declared. The radio button have 2 values : "portrait" and...

View Article
Browsing all 3740 articles
Browse latest View live