How to set the width of the dataTable().columnFilter ?

How to set the width of the dataTable().columnFilter ?

rajkrajk Posts: 5Questions: 1Answers: 0

I am having type: "date-range", type: "select" and type: "text" columnFilter in my datatable.

I want to reduce the width of these filters when they are displayed as they take a lot of space (equivalent to 2 columns).

I tried two solutions:
1. Add css .date_range_filter{ width:10px;} --- in my jsp <head> section
2. { type: "date-range", width: "50px" },

But Only this works
.select_filter{ width:100px; }

===>> .date_range_filter{ width:10px; } & .text_filter{ width:20px; } does not work.

How can I change the width of the type: "date-range" and type: "text" ??

Please help.

Answers

  • rajkrajk Posts: 5Questions: 1Answers: 0

    Please help

    How can I change the width of the type: "date-range" ?

This discussion has been closed.