NuGet package
I would like to manage the library through NuGet. Does DataTables and Editor have any NuGet package provided?
View ArticleOptions on DateTime
I am trying to link two datetime fields together so that the Start Date can not be more than the End Date and vice versa. I can't seem to find the list of options available for the DateTime field built...
View ArticleHow can one do jQuery and C# unit testing of Editor input/output?
To provide context, I use .NET MVC 5. To date, I've developed pages using Editor by "debug-oriented" approaches. In other words, use a page and do manual record entries, edits, and deletes. If it looks...
View ArticleHow to persist checked state to bit field
In my scenario, I have a bit field in my SQL Server table and a .NET MVC 5 view. I used Always Shown Checkbox to get started. While I see a checkbox and I'm able to toggle it on and off, I have these...
View ArticleHow to "Do something" after editing but before redraw
I would like to do something such as to set a flag, or to add a class or to change the default order right after finishing an edit but before a table redraw. Any hints appreciated. Thanks.
View ArticleExact match regex, serverSide:true, and Editor
I'm working on an autocomplete filter for a column where I'd like the table to filter on an exact match when the user "selects" a specific entry from the autocomplete. Consider this page, the...
View ArticleEditor Dynamic Form Fields
Does anyone know an example like this https://bootsnipp.com/snippets/AXVrV implemented with Editor? Would be grateful for some sample code as well. Many thanks.
View Article"editor.file() is not a function" error . table.file() is
While i was using this front page example. editor.datatables.net/examples/advanced/upload.html I got the "editor.file is not a function" error However, example in the file() api uses table.file()...
View ArticleDataTables - Getting duplicate records when using LEFT JOIN and mm table
I'm using https://editor.datatables.net/ and when doing a left join like this: accounts.php: Editor::inst( $db, 'accounts', 'id' ) ->fields( Field::inst( 'accounts.id' ), Field::inst( 'accounts.abc'...
View ArticleDelay in selecting a row
Is there a way to show a "please wait while your data are being retrieved" message to the user when she clicks on a row to select it and the select takes long because a couple of tables are being drawn...
View ArticleInline table editing of a child row.
I have created numerous applications that use the DataTables row.child API for displaying detail information and it works nicely. I also have wrote numerous DataTables Editor applications as well. I...
View Articlemany to many options for editable field
Hi I have the following use case: users table: it contains users related data but not role_id roles table: it contains roles related data role_user pivot table: it contains role_id and user_id ... it...
View ArticleLarge window layout, which CSS?
Which CSS file do I alter to create a large window layout as described in this example: (https://editor.datatables.net/examples/styling/large.html? My form and table has been created using the online...
View ArticleLimiting the number of text lines shown in a table row.
When submitting a textarea with more than 20 lines, the result is often a grid row cell which often fills the screen when viewing the grid / table . Is there a way to limit this, so that that it only...
View ArticleUncaught TypeError: Cannot set property '_aData' of undefined with checkbox
I'm encountering the error "Uncaught TypeError: Cannot set property '_aData' of undefined " when toggling a checkbox I have in an inline editor on a Datatable. Which the browser debugger reports to be...
View ArticleFilter table from HTML option elsewhere on page.
In this scenario, I have an HTML dropdown apart from the editor table. What I'd like to be able to do is apply a dropdown-filter like this: $("#ReconciledFilter").change(function() { // reload editor,...
View ArticleCustom primary key not working for edit and delete
I'm using a custom primary key and my understanding is that the only change needed is to include the custom primary key field as the third parameter when initializing an instance of Editor on the...
View ArticleMJoin Multiple Databases
I have succesfully been using multiple databases in my application by simply adding the database name before the table name like so: Editor::inst( $db, 'ridedata1-web1-uk.ride', 'ride_id' ) However,...
View ArticleLocking out other users while editing a row
I was wondering is there is an easy was to lock out other users when a row is being edited? There is a post about this from 2013 saying that it might be included in future versions? Was this ever...
View ArticleSelect2 drop-in: odd behavior
I have an editor app that is working flawlessly. I added the select2 plugin .js file and local copies of the minified .js and .css versions of select2, making sure that I used v4.0.2 as used in the...
View Article