Skip to content

Toolbar dropdown not working. #7116

Answered by LSNicholls
sapster77 asked this question in Help
Discussion options

You must be logged in to vote

Oh, in a grid is pretty much just the same although I changed to (a) run the code in createToolbarExtensions() and (b) use spans instead of divs, both changes to get the button where I wanted it on the grid page. I didn't make any changes to the CSS from the earlier example:

 protected override createToolbarExtensions() {
     super.createToolbarExtensions();
     this.toolbar.element.append
         ('<span class="dropdowncontainerPDF"><span class="dropdownPDF">' +
             '<button class= "dropbtn btn btn-sm tool-button" > Dropdown' +
             '<i class= "fa fa-caret-down" > </i>' +
             '</button>' +
             '<span class= "dropdownPDF-content" >' +
             '<a…

Replies: 6 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@sapster77
Comment options

Comment options

You must be logged in to vote
1 reply
@sapster77
Comment options

Answer selected by sapster77
Comment options

You must be logged in to vote
3 replies
@sapster77
Comment options

@LSNicholls
Comment options

@sapster77
Comment options

Comment options

You must be logged in to vote
1 reply
@sapster77
Comment options

Comment options

You must be logged in to vote
1 reply
@sapster77
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants