How to resize Jqgrid Datepicker -


i need know how resize datepicker in jqgrid. right appears bigger want to. tried using

    jquery(elem).datepicker({                autosize: false,               height:20,               width:20,               changemonth: true,               changeyear: true             }); 

but not work.

please help,

thanks

one can change size of jquery ui datepicker specifying css properties on .ui-datepicker. example following css

.ui-datepicker { width: 30em; } 

changes default value of width 17em 30em. value 30em large, 1 clear see width of datepicker changed. can use value find best project.

update: if need reduce size of datepicker windows can't use width: 10em because the content of data large displayed in width. can reduce font-size used in datepicker windows.

the demo uses

.ui-datepicker { font-size: 8px; } 

and displays

enter image description here

instead of standard enter image description here


Comments