-
Notifications
You must be signed in to change notification settings - Fork 102
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
Weird issue with no styling on DataTable #247
Comments
I'm glad you like our datatable! It's an unfinished prototype, so bear with us. I know it's far from being perfect. As for your question: at first glance, your screenshot looks OK to me. The only thing that's odd is the paginator at the bottom. What do you refer to when you say there's no styling? |
The drop down menu, and the filter input are not styled with bootstrap. If you compare my screenshot to the datatable shown on the Bootsfaces I understand that the new datatable is unfinished, but I wanted to make Everything else on Bootsfaces works wonderfully, and I can tough it out;
|
Now that you say I... I looked at it all the time without recognizing there was something missing which already worked before. I simply forgot to add the JavaScript code. I've uploaded a new developer snapshot of BootsFaces to Maven Central. See #151 on how to get it. As a quick workaround, simply add this code snippet to your XHTML file: <h:outputScript library="bsf" name="js/jquery.dataTables.min.js" />
<h:outputScript library="bsf" name="js/dataTables.bootstrap.min.js" /> I added it to the body - maybe it works in the header to, but I didn't try. |
Thanks, adding it in the body works properly :) |
All of the Bootstrap styling works everywhere else within my application, but no matter where I place the DataTable using Bootsfaces 0.8.0, it just has no styling o_O
I was shocked to see the awesome improvements to the DataTable, so I looked on the Bootsfaces site to see what was new. I noticed there is Bootsrap styling on all of the components of the table in your example but when I use the table, it looks unstyled:
Is there some other dependency I need to add?
The text was updated successfully, but these errors were encountered: