jQuery-gridmanager icon indicating copy to clipboard operation
jQuery-gridmanager copied to clipboard

GridManager and FontAwesome

Open ghost opened this issue 5 years ago • 3 comments

Hi,

I'm about to work with GridManager and I have a question in context with fontawesome.

I made a simple mvc project with components of GridManager as "jquery.gridmanager.css" and "jquery.gridmanager.js".

Everything works so far. Now as soon as I include the "fontawesome-all.min.js" (Font Awesome Pro 5.0.12 by @fontawesome - https://fontawesome.com) in BundleConfig.cs, the button "Select Column" does not have an icon anymore (see attached image) and the button "Add Editable Region" does not work anymore (nothing happens when click on it).

What can I do? Does FontAwesome 5 not work with GridManager? If there is no solution, could you tell me how to remove/hide this two buttons and how can I add custombuttons with the same functionality especially the "Add Editable Region"?

Thank you very much for your help.

Best regards. Ivan Huber

image

ghost avatar Jul 25 '18 19:07 ghost

As mentioned via email, not tested yet with Fontawesome 5. The exclamation mark you see might be to do with whether you're using the free vs pro version. Also, FA5 seems to use SVG via JS which is quite a different technique to fonts;

I would recommend you use FA4, not FA5 for now.

neokoenig avatar Jul 25 '18 19:07 neokoenig

Ok thanx. Is there a possibility to remove/hide this two buttons and make the same functionality by custom buttons and custom code?

ghost avatar Jul 25 '18 19:07 ghost

You can disable editableRegionEnabled =false but that will disable the whole editable functionality.. really, this is a bug and not something easily worked around, except by using FA4; I can see if I can get a version working with FA5, but it's been ages since I touched this code!

neokoenig avatar Jul 25 '18 20:07 neokoenig