Skip to content

Default ActionButtons

1
2
3
4
5
6
7
8
9
var dv = AppGiniHelper.DV;
var ab = dv.getActionButtons();

var btn_insert = ab.getInsertButton();
var btn_save = ab.getSaveButton();
var btn_delete = ab.getDeleteButton();
var btn_back = ab.getBackButton();
var btn_previous = ab.getPrevButton();
var btn_next = ab.getNextButton();

Customize

1
2
3
4
5
6
7
var btn = dv.getActionButtons().getSaveButton(); 
// or any other button

btn.setText("Custom text");
btn.setHref("https://www.bizzworxx.de");
btn.setIcon("flash");
btn.setVariation(Variation.primary);

Hide ActionButton

1
2
var btn = dv.getActionButtons().getSaveButton(); // or any other button
btn.hide();

Show hidden ActionButton

1
2
var btn = dv.getActionButtons().getSaveButton(); // or any other button
btn.show();

See also