Hello,
I think the Rangeselector works not like it should do.
I must add +2 to display the day of today.
Code:
var d = new Date();
$( “#rangeSelectorDate” ).jqxRangeSelector( { theme: ‘ui-overcast’,
width: 640,
height: 20,
min: new Date( 2013, 0, 1 ),
max: new Date( d.getFullYear(), d.getMonth(), d.getDay() + 2 ),
labelsOnTicks: false,
range: { from: new Date( d.getFullYear(), d.getMonth() – 2, d.getDay() + 2 ),
to: new Date( d.getFullYear(), d.getMonth(), d.getDay() + 2 ) },
majorTicksInterval: “month”,
minorTicksInterval: “day”,
labelsFormat: ‘MM’,
markersFormat: ‘dd-MMM-yyyy’
} );