Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GridManager and FontAwesome #97

Open
ghost opened this issue Jul 25, 2018 · 3 comments
Open

GridManager and FontAwesome #97

ghost opened this issue Jul 25, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented Jul 25, 2018

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

@neokoenig
Copy link
Owner

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.

@ghost
Copy link
Author

ghost commented Jul 25, 2018

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

@neokoenig
Copy link
Owner

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant