Preview: (Auto-) Hiding table columns in children tabs of DV

In this preview of the next version of AppGini Helper Javascript Library I show the new function “autoHide” for columns of children tabs. Please note that the functions shown here will be available by the end of 2020, probably The problem with too many columns As you may already know a master record may have detail records in a different table. AppGini can generate tabs for each detail table and will show the tabs below the master record’s data. You can see there may be many columns in the children tab table. There are a few CSS tricks to hide …

BUG: display of dropdowns/lookups in tabs

There is a display bug for the add-/view- buttons next to dropdowns when applying field.dropdown().fix() on fields placed in tabs. The reason is that select2 dropdown container returns height = 0 in certain scenarios when applying the fix. Additionally there is an inheited css style for overflow-x which may hide the add-/view- buttons in certain sizing-scenarios. This bug will be fixed in next version which will be released probably in July 2020. We are sorry for any inconvenience! Refers to:

How to add a button for adding subitems to every row of table view

Adding buttons and adding links to a table view has been described in the docs. By using the %ID% placeholer you can use the record’s primary key as parameter for links. For example for opening the record in detail view. In this article we are going to use the %ID% parameter for adding a sub-item (child record / detail record) to the row. The Online Clinical Management System (OCMS), which I’m using in many examples, contains patients and appointments. Appointments are stored in a table named events. And the column name_patient has been configured as lookup field refering patients table. …

How to: re-use multi-row Batch Actions for single table rows

With Batch Actions you can execute a javascript function for all selected rows in a Table View. In this step-by-step guide I am going to show, how add a button to every table view row and execute an existing batch action on button click for that specific row. The following video show the possibilities you have with Batch Actions and additional buttons per row: Illustration If you already have a working batch action script integrated in your TABLENAME-tv.js file, you can skip steps 1 and 2 and directly head over to step 3. Step 1: Create Batch Action javascript function …

Beautify lookups (dropdowns)

Available since in April 2020. AttentionThere is a display bug with lookups in tabs which will be fixed in version July 2020 See also: modify default buttons custom buttons for lookups Default dropdown style This is how dropdowns/lookups look by default. As you can see there is a gap between the buttons and the style of the dropdown (having a gradient background) looks differently in comparison to other controls. Modified dropdown style With a single line of code you will be able to align the buttons, adjust the look, remove the gaps and even change icons. (1) Remove gaps and …