After adding bootstrap to datatables colvis dropdown stopped working - django

i am working on a django project where i am using datatables, and i am trying to beautify it by using bootstrap. It works as expected colvis dropdowns show the columns without a problem but when i add bootstrap i can't see the columns to filter in dropdowns there is no explanation or errors on the console. I wonder if anyone had the same problem before and how did you solve it?
Thanks
Colvis dropdown image

I was using :
https://cdn.datatables.net/buttons/1.6.5/css/buttons.dataTables.min.css
and change it to :
https://cdn.datatables.net/buttons/1.7.0/css/buttons.bootstrap4.min.css
Problem is not a version problem it was a css problem.

Related

Drupal Contexual filter doubles results on multilanguage site

I have a view in a multi-languages site on Drupal 8 which worked fine.
When I submitted content on the second language items starts showing twice. I believe I have to pass the language on the contextual filter but I don't know-how
Any help is appreciated.
I managed to solve this issue by going to view-->advanced--->other---->query string and then clicking on distinct

How can I resolve Bootstrap Datetimepicker issue?

I am using bootstrap datetimepicker in my module. Bootstrap datetimepicker is automatically displaying current date and time in text box. How can I resolve this?
Do you have any Javascript on your page that looks like this?
$("#datepicker").datepicker("setDate", someDate);
$("#datepicker").datepicker('update');
If you removed that it should then show an empty textbox when your page loads

bug in django-select2 design with bootstrap - select field to narrow

I have a django 1.6.2 project (python 3.3), with bootstrap 3 theme. I have installed the wanted https://github.com/t0m/select2-bootstrap-css, and it is working properly.
But 'select' field is too narrow (tight).
This is a known bug (https://github.com/t0m/select2-bootstrap-css/issues/42)
Does anybody know the solution?
Does anybody know another django widget for ajax selection form field?
I think, I've found a trivial solution:
https://github.com/t0m/select2-bootstrap-css/issues/42#issuecomment-68210742

Date Picker Styling Sitecore

I'm working on a sitecore project where i'm using WFFM (Web Forms For Marketers), I have a form and would like to change the styling of a date picker. By default it appears with -'s. I ant /'s.
One way would be:
$('.scfDatePickerTextBox').val().replace(/-/g,'/')
Theres no option to change the styles? that I know of? Any help guidance would be grateful.
When using WFFM as your forms builder i think it is not possible to style the dateformat.
When adding a date field, it always shows up as three droplists:
see this image: http://content.screencast.com/users/MoonCrawler/folders/Jing/media/627a9a76-de8d-4ad7-9097-81e21d38f54c/2013-01-30_1658.png
If you want to change styles (display) assign different css class. if your date is displayed with -'s in stead of /'s then i think you are using a custom form, you should be able configure the output of the date via the code behind file.
if this does not help, please provide sitecore version, WFFM version and type of form used.

Django Admin actions select issue

I am using Django 1.3 and have the following issue:
In the Admin list page, if you have enough objects to result in pagination (more than 100 if you haven't changed ModelAdmin.list_per_page) there is an issue with the actions links, and none of them seem to work.
These links are meant to show how many items you have selected, allow you to select all (through all pages) or clear selection. I am currently getting very weird behaviour and would appreciate any help.
This has been resolved thanks to the suggestions provided above. It was indeed a CSS issue.