How to stop editable for date fields in calendar

  1. #1

    How to stop editable for date fields in calendar

    Hi
    this is my first post,
    If we set editable=false for date field then it is not allowing external data to type or to paste, I need the same behavior in calendar while creating new task, See the following screen shot it will give more description

    Click image for larger version. 

Name:	calendarDateField.jpg 
Views:	64 
Size:	96.2 KB 
ID:	3963

    thanks for any solution
    Last edited by thota; Mar 19, 2012 at 3:36 PM.
  2. #2
    Hi,

    Welcome to Ext.NET!

    Please follow:
    http://forums.ext.net/showthread.php...ll=1#post57507
  3. #3

    Read only is not my requirement

    Quote Originally Posted by Daniil View Post
    Hi,

    Welcome to Ext.NET!

    Please follow:
    http://forums.ext.net/showthread.php...ll=1#post57507

    Thanks for your quick reply Daniil

    My requirement is to select the dates and time only. But not paste the outside data and typing extra characters,
    By seeing your solution i tried this in other way and got the solution here it is..


    <Render Handler="                              
                                   this.get(0).get(1).on('render', function () {
                                       this.allDay.hide(true);
                                       this.startDate.setEditable(false);
                                       this.startTime.setEditable(false);
                                       this.endDate.setEditable(false);
                                       this.endTime.setEditable(false);
                                 });" />
    please mark it as closed.
    thanks
    Last edited by Daniil; Mar 20, 2012 at 11:23 AM. Reason: Please use [CODE] tags
  4. #4

    Its was really very helped to us

    Quote Originally Posted by thota View Post
    Thanks for your quick reply Daniil

    My requirement is to select the dates and time only. But not paste the outside data and typing extra characters,
    By seeing your solution i tried this in other way and got the solution here it is..


    <Render Handler="
    this.get(0).get(1).on('render', function () {
    this.allDay.hide(true);
    this.startDate.setEditable(false);
    this.startTime.setEditable(false);
    this.endDate.setEditable(false);
    this.endTime.setEditable(false);
    });" />

    please mark it as closed.
    thanks
    Thanks you very much

Similar Threads

  1. Replies: 0
    Last Post: Aug 14, 2012, 9:14 AM
  2. Replies: 4
    Last Post: Jun 30, 2011, 3:30 PM
  3. [CLOSED] Column with two Editable fields?
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 25, 2011, 7:48 AM
  4. date format for all date fields in grid?
    By marcmvc in forum 1.x Help
    Replies: 0
    Last Post: Dec 01, 2009, 3:41 PM
  5. Replies: 1
    Last Post: Jan 28, 2009, 7:36 PM

Tags for this Thread

Posting Permissions