Why is my rowgroup not rendering the correct dropdown buttonlist?
Why is my rowgroup not rendering the correct dropdown buttonlist?
thegamechangerpro
Posts: 81Questions: 30Answers: 1
Am I doing something wrong?
Two consecutive dropmenus won't render their own specified button lists
take a look a level 3 (the light grey group row). The ThumbsUp icon has the same buttons as the MenuBars - even though in my code (see starting at line 455) seems to be correct.
https://jsfiddle.net/thegamechangerpro/18e7rvpb/20/
If anyone could help me understand what I did wrong I would GREATLY appreciate it!!!!
Answers
This is not a Datatables specific error. Start by inspecting the ThumbsUp element and you will see some syntax errors:
Note the
style="font-size: 20px" ;=""> <span
found twice. You can also run the code through an HTML validator to find the errors. You original source hasstyle="font-size: 20px";> <span
.Also you have
type
defined on one of thespan
elements. Fixing these doesn't fix the issue.Looking at the BS dropdown docs it looks like
btn-group
is used to separate buttons. I added those plus the above fixes to your code and it seems to work.https://jsfiddle.net/otzs3ykp/
Kevin