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...
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...
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...
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...
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');...
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:...
Recent Comments