ButtonSettings Class [PHP]

Summary

Properties Description
HorizontalAlign Set the horizontal align.
Position Set the position of function buttons.
ShowDelete Get or set whether delete button is shown.
ShowReorder Get or set whether move up and move down buttons are shown.
ShowTransfer Get or set whether transfer in and transfer out button are shown.
ShowTransferAll Get or set whether tranfer all buttons are shown.
VerticalAlign Set the vertical align.

Properties Detail

HorizontalAlignTop

string HorizontalAlign

Set the horizontal align. This alignment will take effect when button is on top and bottom position.

Default value : "Left"

Allowed values :

  • "Left" : Buttons are shown on top.
  • "Right" : Buttons are shown on right.
  • "Center" : Buttons are shown at bottom.

Show/Hide Code

Supported from version: 1.0.0.0

PositionTop

string Position

Set the position of function buttons. There are four positions to set: top,right,left,bottom.

Default value : Right

Allowed values :

  • "Top" : Buttons are shown on top.
  • "Right" : Buttons are shown on right.
  • "Bottom" : Buttons are shown at bottom.
  • "Left" : Buttons are shown on left.

Show/Hide Code

Supported from version: 1.0.0.0

ShowDeleteTop

bool ShowDelete

Get or set whether delete button is shown.

Default value : false

Show/Hide Code

Supported from version: 1.0.0.0

ShowReorderTop

bool ShowReorder

Get or set whether move up and move down buttons are shown.

Default value : false

Show/Hide Code

Supported from version: 1.0.0.0

ShowTransferTop

bool ShowTransfer

Get or set whether transfer in and transfer out button are shown.

Default value : false

Show/Hide Code

Supported from version: 1.0.0.0

ShowTransferAllTop

bool ShowTransferAll

Get or set whether tranfer all buttons are shown.

Default value : false

Show/Hide Code

Supported from version: 1.0.0.0

VerticalAlignTop

string VerticalAlign

Set the vertical align. This alignment will take effect when button is on left and right position.

Default value : Top

Allowed values :

  • "Top" : Buttons are shown on top.
  • "Bottom" : Buttons are shown on right.
  • "Middle" : Buttons are shown at bottom.

Show/Hide Code

Supported from version: 1.0.0.0