jquery-treegrid icon indicating copy to clipboard operation
jquery-treegrid copied to clipboard

Treegrid not working with boostrap 4 and jquery 3+

Open dattakugve opened this issue 6 years ago • 7 comments

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

dattakugve avatar Sep 27 '18 11:09 dattakugve

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

rubinhozzz avatar Oct 04 '18 09:10 rubinhozzz

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

krosoftware avatar Oct 04 '18 11:10 krosoftware

@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).

rbrannath avatar Dec 21 '18 09:12 rbrannath

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

dattakugve avatar Dec 21 '18 11:12 dattakugve

@dattakugve , what was the issue?

krosoftware avatar Dec 31 '18 06:12 krosoftware

@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.

dattakugve avatar Dec 31 '18 06:12 dattakugve

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?

krosoftware avatar Dec 31 '18 07:12 krosoftware