This is a migrated thread and some comments may be shown as answers.
Add Button in toolbar
1 Answer 5 Views
This is a migrated thread and some comments may be shown as answers.
Larbi
Top achievements
Rank 1
Larbi asked on 06 Mar 2021, 02:15 PM

Hello,

i need add a button and my self code in toolbar it's possible ?

Thinkyou

1 Answer, 1 is accepted

Sort by
0
Larbi
Top achievements
Rank 1
answered on 08 Mar 2021, 11:27 AM
Hi,

from the fact that nobody answered my question then I answer myself.

document.getElementsByClassName("k-tabstrip-items")[1].style.paddingLeft='100px';
var Button1 = document.createElement('a');
var Icon1 = document.createElement('span');
Button1.className = 'k-button k-button-icon';
Button1.title="Save";
Icon1.className = 'k-icon k-i-save';
Button1.appendChild(Icon1);
nn.onclick = BClick;
document.getElementsByClassName("k-spreadsheet-quick-access-toolbar")[0].appendChild(Button1);
Asked by
Larbi
Top achievements
Rank 1
Answers by
Larbi
Top achievements
Rank 1
Share this question
or