maxazan / jquery-treegrid

TreeGrid plugin for jQuery
http://maxazan.github.io/jquery-treegrid
MIT License
553 stars 222 forks source link

Treegrid not working with boostrap 4 and jquery 3+ #71

Open dattakugve opened 6 years ago

dattakugve commented 6 years ago

Hi ,

Does this plugin support bootstrap 4 and Jquery 3. After upgrading to jquery 3 and bootstrap 4 I treegrid is not showing collapse icons

rubinhozzz commented 6 years ago

Is this project still alive? It would be awesome if they can upgrade it for bootstrap 4.

krosoftware commented 6 years ago

Last author response is on Dec. 30 2016 so you can get the point ...

rbrannath commented 5 years ago

@dattakugve in treegrid.js, replace "treegrid-expander-expanded" with (for example) "fa fa-caret-down" and "treegrid-expander-collapsed" with (for example) "fa fa-caret-right".

This will use FontAwesome Icons (as of v.4.7).

dattakugve commented 5 years ago

It worked with BS4 without any changes. Issue was becasue of something else

krosoftware commented 5 years ago

@dattakugve , what was the issue?

dattakugve commented 5 years ago

@krosoftware jstree css files were not loaded because of incorrect path. Worked fine after correcting it. Now I am using jstree with BS4 without any issues.

krosoftware commented 5 years ago

I have no jstree css, do you mean on jquery.treegrid.css? After I added Bootstrap 4.21 CSS I have treegrid without icons, please check this: https://imgur.com/a/eMFFaWu and here is my HTML: image What is wrong there? how your HTML looks like (inside example-bootstrap-resize.html file?