lee123 free asked 5 years ago


i copy and paste the table editable template on my dreamweaver but the buttons doesnt seem to work. i have copy paste codes indicated and installed mdb.  


Ron Sargeant free commented 5 years ago

I have the same problem - copied the HTML, CSS and JS parts but buttons don't work. I have jquery loaded on my example page but the console is reporting errors for missing jquery when the buttons are pressed.  These examples are embedded in a page that has a huge amount of content not related to the examples (MDB site sidebars, etc), making it very difficult to determine which additional resources might be required. I am guessing I am missing some extension that is declared somewhere in the masses of other stuff going on here.  It would be better if the examples were links to separate HTML pages containing only the declarations required and not all the other clutter. 


Ron Sargeant free commented 5 years ago

Solved - add the following to the end of script section

<script type='text/javascript'src='https://mdbootstrap.com/wp-content/themes/mdbootstrap4/js/4.6.1/compiled.1.min.js?ver=4.6.1'></script>
<script src="https://mdbootstrap.com/wp-content/themes/mdbootstrap4/js/plugins/mdb-editor.min.js"></script>
<script>
$('#dtBasicExample').mdbEditor();
$('#dtBasicExample-1').mdbEditorRow();
</script>
<script>
$('.dataTables_length').addClass('bs-select');
</script>

Piotr Glejzer staff commented 5 years ago

Cool that you resolved your problem. Have a nice day.


Piotr Glejzer staff answered 5 years ago


Hi,

may you use our snippets to show your code about that problem?


Best,

Piotr



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: cpu
  • Browser: google chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: No