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

Inline editing validation error

Hi Allan, I'm having an issue with inline editing (using server side and submitOnBlur=true). When editing a record where a field validation error is sent back from the server other than on the field...

View Article


Client-side validation

Hi Allan, I'm currently performing validation of my data at the server-side but was wondering what options are available for client-side validation? Note I'm aware of the field 'attr' option to apply...

View Article


Dialog title and message are being overwritten after being set in init* event

Hello, I recently updated my Editor code base from 1.4.0 to 1.4.2 and have noticed the init* events no longer work for setting the title/message of the dialog. Here is a snippet of my code as it was...

View Article

PHP Database code and the $_SESSION variable

Disregard - Dumb coding error on my part

View Article

Bootstrap datepicker in bubble editor

Hi, Do you have any examples of how to have the bubble editor type always use the bootstrap datepicker for date columns? Or, just an example of an individual column with a datepicker in a bubble...

View Article


Field Validation error text colour

Hi Allan, Is it possible to change the colour of the field validation error text displayed in the following scenarios? During inline editing. When the create/new or edit modal popup is displayed....

View Article

Set the value when using the select Type

Hi Guys, I am using the select Type to have a drop down when i create or edit a record. How would i set the value to be the current database value if the user selects no? Or can I have it not update if...

View Article

Possible to change the title of Create/Edit/Delete editor popups triggered by...

Hi, Is it possible to change the title of the Credit/Edit/Delete editor popups triggered by the TableTools buttons? Regards, Tom

View Article


Deleting values when editing

Hey Guys, i have a 1:n relationship and using JOIN class. Everything works fine. The values from the joined table i just want to display, so i don't added them in the "fields" part of "editor = new...

View Article


Will the php version be updated to PSR-2 complicated package?

Dear Allan, I just purchased the Editor, but I found out that the PHP package isn't complicated with PSR-2. And as we all known, it's very common that using PHP composer to install the package. So I...

View Article

One-to-Many (Multiple joins)

Hi guys So I've got 4 tables which need joining. Products, Archived_Products, Archived_Recipe and Archived_Ingredients. 1 Product can have multiple Archived_Products, 1 Archived Product can have...

View Article

PHP Package JSON problem

I'm using Editor php package to generate the JSON, but the JSON feedback seems a little bit more:...

View Article

left join source

i have an editor instance with a left join what i am doing is counting the number of times a certain id occurs in the joined table on my datatable i have a delete button which is rendered on condition...

View Article


How can I add ajax data into a checkbox?

Hi Alan, here's my javascript: editor1.on('preOpen', function (e) { e.preventDefault(); $.ajax({ url: '/api/boss/vipCredit', data: {id:table.row( '.selected' ).data().sc_channel_credits.channelId},...

View Article

file upload ajax url and editor id value

Hi, I am currently playing with Editor's new file upload features. What I am having difficulty with is a "generic" way to add the main editor's "id" value for the uploaded file. For the Editor, I can...

View Article


Editor and multiple select list

I'm trying to wrap my head around an issue. I have a MySQL database table for "users" that has a field called "addresses". This address field either has the word "all" or it has a comma delimited list...

View Article

dataSrc for Editor?

Hi, I'm using ajax.dataSrcDT in DataTables to manipulate my data to restructure a complex json to fit the needs of selectize. This works. But since I'm using an inline Editor I need the same function...

View Article


Where in Editor with a variable

I want a complex Where with a variable. In its basic version it's something like this : ->where( function ( $q ) { $q->where( "wp_qspread_invite.parrain", $_SESSION['user_id'], '<>' );...

View Article

How can I do to make a loop for creating new record

What the function I want is that: the user click the create button, and input the data , and save the data. Then the browser will be still in the "create" status. He can always create and save the new...

View Article

Date formats: Are Editor and the "ultimate" plugin using different formatting...

It seems that MMM DD, YYYY would give me "May 13, 2015" with the "ultimate" plugin. http://datatables.net/blog/2014-12-18 With Editor, it seems I would need to specify M d, yy to get the same result of...

View Article
Browsing all 3740 articles
Browse latest View live