Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
datepicker calendar question
posted

$("#DateToPerioddatePicker").igDatePicker({
button: "dropdown",
nullText: "2010-10-01"
dateInputFormat: "yyyy-MM-dd",

});

this is my code

i want this.

When i play my code firsttime

if i click calendar button, calendar show me date that i input nullText(2010-10-01) date

how can i 

Parents
No Data
Reply
  • 2895
    posted

    Hello Hayeon,

    Thank you for contacting Infragistics.

    I’m not sure I understand your question. I have created a sample for you showing how to set an initial value for the datePicker. The nullText property is used to display a text when the editor is not on focus and doesn’t have a value. Please take a look at the sample and let me know is that what you are looking for?

    Sample: http://jsfiddle.net/6zp7yraf/

    Best Regards,
    Marina Stoyanova,
    Software Developer,
    Infragistics, Inc.

Children
No Data