Ayman
Ayman

Reputation: 872

Bootstrap Date Paginator datepicker width

How can i change Bootstrap Date Paginator width.

it said in documentation to use Integer. Default: 35 source

How can i aplly it on below code

$(document).ready(function () {
    var options = {
        //selectedDate: '2016-01-01',
        selectedDateFormat: 'DD-MMM-YYYY',
        Default: 0
    }

    $('#paginator').datepaginator(options);

    $('#paginator').datepaginator();


    $('#paginator').on('selectedDateChanged', function (event, date) {
        $('#<%= TextBox1.ClientID %>').val(date);
    });
});

Upvotes: 1

Views: 142

Answers (1)

gtsolov
gtsolov

Reputation: 152

As I see the documantion it should be like this


    $(document).ready(function () {
        var options = {
            //selectedDate: '2016-01-01',
            selectedDateFormat: 'DD-MMM-YYYY',
            itemWidth: your width integer here
        }

        $('#paginator').datepaginator(options);
    });

Upvotes: 1

Related Questions