Appgini Developer
  • Home Page
  • Hook Files
  • Magic Files
  • Footer Extras
  • Advance Functions
Select Page

Change Row color from a dropdown menu

by javier | Nov 15, 2020 | Advance Functions, Look & Feel, Table Hook Modifications

Add to the “TABLENAME.php” file in the hooks directory in the tablename_header function case 'tableview': $header=$header="<%%HEADER%%><script>$j(function(){ $j('td.TABLENAME-FIELDNAME').each(function(){ switch ($j(this).text()) { case...

Email notification to all group members on a new record

by javier | Nov 15, 2020 | Advance Functions, Table Hook Modifications

Send out an email notification to all group members after a record has been added or updated. The email title comes from a field from a table. When notification is receive, if user clic on the title, it redirect user to the added record after user login. in the...

Render actual titles instead of ColCaption when downloading CSV files

by javier | Nov 14, 2020 | Advance Functions, Look & Feel, Table Hook Modifications

In the tablename_init hook, add: $CSVFields = $options->QueryFieldsCSV; $colIndex = 0; $colNumber = 0; // loop through all fields foreach ($CSVFields as $field => $title) { // Update column header if (($options->ColNumber[$colIndex] – 1) == $colNumber)...

Require minimum amount of characters in a field

by javier | Nov 14, 2020 | Advance Functions, Look & Feel, Table Hook Modifications

In file: hooks/TABLENAME-dv.js // file: hooks/TABLENAME-dv.js$j(“#FIELDNAME”).attr(“minlength”, 3).attr(“required”,...

Hide field “Add New Record” on the detailed view

by javier | Nov 14, 2020 | Advance Functions, Look & Feel, Table Hook Modifications

Place the code in the hooks folder into the file called TABLENAME-dv.js $j(function() {if ($j(‘input[name=”SelectedID”]’).val()==””) { $j(‘#Link’).hide()...

Unwanted submit button

by javier | Nov 14, 2020 | Advance Functions, Look & Feel, Table Hook Modifications

In the hooks/tablename-tv.js file the following: $j(function(){ $j('#EnterAction').hide();...
« Older Entries
Next Entries »

Recent Posts

  • Working with filters programmatically
  • Open the Message application in a new Window
  • Print with only some fields
  • Applying a default filter on a table
  •  Log the date and time a record was deleted and who deleted it

Recent Comments

    • Facebook
    • Twitter
    • Google
    • Instagram
    • RSS