Skip to content

Compact Layout

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

Code

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

Parameters and default valuesfor 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

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

Comparison

More Images

See also