Infragistics Home

Infragistics Forums

Infragistics community online discussions.
Welcome to Infragistics Forums Sign in | FAQ
in Search

Reducing width of datechooser

Last post 06-23-2008 11:17 by Infragistics - Jim Cook. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-20-2008 17:12

    Reducing width of datechooser

    How can i reduce width of the datechooser. I have datechooser inside webgrid. Need to set styles for the input type of the datechooser.

     

    • Post Points: 20
  • 06-23-2008 11:17 In reply to

    Re: Reducing width of datechooser

    Answer

     Hi - currently there is no way to reset the width of the text entry field part of the date chooser. The reasoning here was simply that in using the date chooser you would want to display the entire date, and there would be no need for resizing.

     You can set the size of the text entry box via Javascript if you want.  Create your page and then examine the source cod ein the browser to see the precise ID names of your date Choosers. Be uure to get the <input type="text" box from within the overall date chooser component. Usin gthose IDs you can create Javascript to reset the size like this:

    document.getELementById('JSFGeneratedIDGoesHere').size="2"; 

     

    • Post Points: 5
Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems