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

Working with filters programmatically

by javier | Apr 3, 2022 | Advance Functions, Table Hook Modifications

Implementing filters in the generated codeIn many AppGini applications, we’d like users to view only a subset of data rather than viewing all the records of a table. For example, in the orders table, we might want users to view the orders as of 1/1/2009 only. To...

View data subset of of a table rather than all the records

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

For example, in the orders table, we might want users to view the orders as of 1/1/2009 only. To do so, we’d write the PHP code for filtering the orders table by date as follows. In hooks/tablename.php” /* filter 1 code*/ /* let's assume the date field is...

Drop Down List different colors

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

In the hooks/<tablename>-dv.js: Assuming your selection is “empty, yes, no” otherwise you need to adjust the below code accordingly.Replace YOURSELECTNAME by your selection. $j(function () { var onSelectOpen=function(){ $j(".select2-drop-active...

Files affected when you modify a table in your project

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

List of all files that are affected when you modify a table in your project, assuming your table is named tablename: tablename_dml.php tablename_view.php templateschildren-tablename-printable.php templateschildren-tablename.php templatestablename_templateDV.html...

Add text on the search box

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

Add the following to your tablename-tv.js file: jQuery(function () { $j('#Filter').html('<i class="glyphicon glyphicon-filter"></i> Search');...

Add custom text on the children tables area

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

$BilderMaxAnzahl = 'add your text somehow to this variable'; $BilderMaxAnzahl = '<div class="titelHinweis">' . $BilderMaxAnzahl . '</div>'; //you might want to check out this: // src:...
« Older 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