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

Installing node Demo files

Hey guys I'm still a noob with node, and I'm having issues testing out the demo files: I got the Demo DB setup in MSSQL successfully I downloaded & unzipped the Demo/Node files to a new folder:...

View Article


Calculated columns - and read only

I've got a screen/ Editor setup to accept Sample results for various type of moulds and germs. I can get this working fine to enter the data, but I require 2 extra columns called "Mould Total" and...

View Article


Image may be NSFW.
Clik here to view.

index or variable not found in preCreate

I keep this error coming: Undefined variable: filter in \website\studio\test_debiteuren\php\table.datatables_demo.php on line 34 {"data":[]} If I change $filter to $_POST['dossier'] error is Undefined...

View Article

how do I filter out the same row in self referencing join

I want a drop down with all users except the current one in the row I am editing. What do I put in the second value in the where clause below? ->table('users') ->value('id') ->label('name')...

View Article

Detect Error state of field

Hi guys, Question: How do I get a true false check on whether a field is currently displaying a fieldError? Or even to return the error message for comparison. I have created a field which takes...

View Article


Add multiple rows at once

Hello,i want the make the Editor to insert multiple rows by a single call. I have 4 fields with 2 datepickers (username,absence_type,start_date,end_date) and i want to insert multiple rows(according to...

View Article

Custom field type which supports tagify

Does anybody has already created a custom field type which supports Tagify? I started with the following snippets. Tagify is shown correctly. The user can choose the tags which were provided by...

View Article

Editor inside another editor's modal?

I have a datatables that uses editor with custom template for editor modal. In that template I have another datatables with editor as well. All works fine technically. Except, and I'm guessing because...

View Article


Display field errors in toastr

Hi I am trying to "catch" the field errors from datatables editor json response to display these errors in a toast (toastr.js) as my custom form uses steps and moving to the next step closes the...

View Article


setFormatter( Format::ifEmpty( null ) )"">Is it possible to use a php varible instead of null here "->setFormatter(...

Hi What I want is to set a standard value when creating a new post in DataTables. I know that I could just write this value here: ->setFormatter( Format::ifEmpty( 1924 ) ) but I want the standard...

View Article

Server side editor, add custom field

because i cant make left join to table with composite keys, how can i bring extra data for each row from this table and send it in the editor response?

View Article

fieldPlugin and .dependent()

Hi, I wanted to achieve a toggle button on my form for lookup / manual entry of address data. I successfully implemented the plugin featured here...

View Article

Editor isn't respecting the alias in a field with an SQL function

I am trying to convert geometry in a PostgreSQL/PostGIS table into GeoJSON inside Editor and setting an alias for that field. In the "Getting started" documentation there is an example code (showing a...

View Article


search field Editor datatable questions

first question: how search field work on server-Side when get the data from editor database function? did the search field search on all columns? second question: if i have table that get data from...

View Article

Standalone Editor not closing inline form with select and data-editor-value

I'm using the standalone editor on a Thymeleaf template and I'm having problems with the inline form not closing after saving. It only occurs when I use a different display value than the value being...

View Article


Editor .dependent() and multi-row editting.

Greetings. The simple dependent example can use a json like this to update the field (item_price) value: return { values: { "item_price": "100" } } let's suppose we have selected two rows for editting....

View Article

event invoking and parameters

I was playing with datatable and keep the editor (always visible editing panel setup). When I switch rows in the datatable, only "preClose" is invoked and I cannot invoke "preEdit". I have two...

View Article


Editor Upload With Custom Primary Key

Greetings, I use certain table to store files paths. But I use special primary key (key_id). Although I've defined key_id in the editor, it still using the ID in file naming and referencing. Here is my...

View Article

editor tabs shown before dt loaded

I have a editor with some tabs. The tabs are defined in the templates. My problem is, that i start the datatable, i see the tabs from the editor before the table are loaded. i use the class d-none in...

View Article

select options

I have two select inputs with same options, but different usages. For example the nationality of a person and the nation of his residence. At the moment the server send the options twice with different...

View Article
Browsing all 3740 articles
Browse latest View live