custom html on custom display
@Allan can you point me in a good direction on how to change the html of a custom display of Editor. Lets say, how can i override Editor.Field template Thanks
View ArticleInline edit in fixed column
Hello Allan, I am using the inline edit feature and had an error when jumping from one inline edit field to another one, because the table reloaded and I lost the reference to the cell. I fixed this...
View ArticleMultiple ->leftJoin() cause PHP error
I have multiple ->leftJoin( ) in my Editor instance which by itself work fine. Now I combined them and get the following error: DataTables warning: table id=table - SQLSTATE[42000]: Syntax error or...
View ArticleUsing Multiple Validators in Editor
I was trying to use multiple Validators. More specific I wanted to add noTags and xss to the existing one's ... ->validator( 'Validate::noTags' ) ->validator( 'Validate::xss' ) Yet when adding...
View Articlehow edit() function edit sigle fields??
Maybe edit() is updated all fields. but i want single fields. editor.edit($(this).closest('tr'), false).set('banking.stat', 'E') This case all fields updated. I want Only banking.stat field. (Because...
View ArticleOpen select control's list
This is a follow-up to this select control question I understand why the select control's list does not stay open. In the table's click event handler, there are business rules that must pass before...
View Articlecell().focus() partially work
Hi I have an inline table editing I do a select on the last row and then focus the Field_4 in footerCallback. oTable.row("#row_999").select(); oTable.cell("#row_999",":eq(4)").focus(); This row is a...
View ArticleWon't populate foreign table items when the link table is empty
When trying to populate a checkbox based on a link table fails when the link table is empty. If I manually insert 1 record in the linktable it starts working properly. However, until that first record...
View ArticleMjoin not work
Hi. I am using Mjoin in the Editor api and insert for some tables hardcodet joins. $editor->leftJoin( works great. Now i Need the mjoin $editor->join(Mjoin::inst( 'xoffi.xoffi_calendar')...
View ArticleHow can we render the editor modal inside a specific div?
Hi Allan, By default the editor popup modal is rendered inside the document body. We want to render it inside a div of our choice. Is that possible? Many thanks, Yishay
View ArticleApplying where condition to both parent and joined table - One-to-many joins
I have a One-to-many joins table which works great. Yet, if I apply a where condition to the joined table, the filtering is only applied to the JOIN Table, not both parent and joined at the same time...
View ArticleEditor PHP Library with Scroller Extension - Offset and Limits
As you know, the Scroller Extension sends the row limits and offsets to the ajax source. I see in the code for the Editor PHP Library that there is a function to handle, i.e. set the offset and limits...
View ArticleWhere multiselect filter on array
I have a multiselect filter which works great if a specifc id has only one value allocated. account_mm: id iso_01 1 DE 2 DE 3 FR 4 FR 5 US But what if a specifc id has multiple values like: account_mm...
View ArticleSelect Max If on Editor Field::inst
Hi Allan, Can Editor provide a Max If on Field::inst ? I want to create an editor field like this DATE_FORMAT(MAX(IF(act_log_detail.log_status_id=1,act_log_detail.start_process,'')),'%H:%i:%s') as...
View ArticleUsing DataTables render function with standalone editing.
Is they a way to implement the above? For example - below is there a built-in way of rendering 'Expenses' as a currency? $(document).ready(function() { editor = new $.fn.dataTable.Editor( { ajax:...
View ArticleBoostrap modal static and keyboard states
Hi Allan I notice in Editor-1.5.6/js/editor.bootstrap.js you load the modal with the correct options to make it static and disable the esc $(self._dom.content) .... .appendTo( 'body' ) .modal( {...
View Articleeditor.mode() is null on submitComplete event
Hi Allan I notice that editor.mode() is null on submitComplete I am trying to use this event to jump to the inserted row after a row insert (as you advised). How else can I determine what mode the form...
View ArticleCustom field type for horizontal radio buttons
The radio field type that ships with Editor creates vertical radio buttons. If you have a lot of radio button options, it can be useful to display them horizontally. Here is the code for a custom...
View ArticleEditor fields from dom
Hi, i have a dom loaded dataTable and i want to apply editor on top of this. I know the column headers i want to use, but how can i get the editor to know the fields? in the dataTables initialisation i...
View ArticleResolution for bug in ShowWeekNumber option of datepicker
ShowWeekNumbers gives the wrong weeknumber. Week of the year according to ISO 8601 standard first week of the year is the week of the first Thursday of a year. If you want to patch this: override...
View Article