Compact Layout

The compact()-method combines several actions to make the most of the available workspace


// file: hooks/patients-dv.js
AppGiniHelper.DV.compact(true, false, true);

Parameters and default values
for compact-method

  • on
    boolean = true
  • badges
    boolean = true
  • movelinks
    boolean = true
  • align
    Button alignment = ButtonAlign.Center
    • ButtonAlign.Left
    • ButtonAlign.Center
    • ButtonAlign .Right

Example with button-alignment

AppGiniHelper.DV.compact(true, false, true, ButtonAlign.Right);


More Images

Extra space for form fields

Extra space for tabs

Extra space at the top moving the children-buttons into the tabs' toolbars.

Do you like it?