How to add custom css class name to the daterangepicker? #2291
-
Is there any way to add a custom css class name to the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Here is one solution,
Custom style example: |
Beta Was this translation helpful? Give feedback.
Here is one solution,
`$(document).find('.stdate').each(function () {
$(this).daterangepicker(
{
//customClass: 'my-css',
opens: 'left',
autoUpdateInput: false,
//"parentEl": $(this).closest('div'),
locale: { cancelLabel: 'Clear' }
Custom style example:
<style> .daterangepicker.my-custom-css { z-index:9999 !important; } </style>