Dear visitor, despite all the challenges, our team continues operating at full speed.

We are ready to help with any questions you may have. Please fill out this quick form and we'll get back to you.

Fill the form
Get Free Trial

toolbar : show some

sabby asked on August 24, 2017

 beforetoolbarcreated: customizeToolbar    used this 
got below error
TypeError: Cannot read property ‘getTabs’ of undefined

3 answers

Public
sabby August 24, 2017

attaching error.
do i need to use window. ?

Attachments:
flex1.png

Public
sabby August 24, 2017

<FlexmonsterReact.Pivot ref=”pivot” toolbar = “true”
beforetoolbarcreated = {this.customizeToolbar()}
 
customizeToolbar(toolbar) {
// get all tabs.
var tabs = toolbar.getTabs();
console.log(“tabs” + tabs);
toolbar.getTabs = function () {
// delete the first tab
delete tabs[0];
return tabs;
}
}
 

got below error
TypeError: Cannot read property ‘getTabs’ of undefined

 

Public
sabby August 24, 2017

i tried some documentation. am good now. 

Please login or Register to Submit Answer