[CLOSED] [2.0] Calendar in readonly mode.

  1. #1

    [CLOSED] [2.0] Calendar in readonly mode.

    Hello, I'm trying to attain the same as in this post:
    http://forums.ext.net/showthread.php...-readonly-mode

    On Ext.Net 2.0

    But in this line:
                var monthView = Ext.getCmp(calendarId + '-month'),
                    weekBdView = Ext.getCmp(calendarId + '-week-bd'),
                    dayBdView = Ext.getCmp(calendarId + '-day-bd'), ...
    monthView, weekBdView and dayBdView are getting null values.

    I tried also with:
    Ext.getCmp(calendarId + '-month')
    and
    Ext.getCmp('App.' + calendarId + '-month')
    but got the same result.

    Also
    Ext.getCmp(calendarId)
    returns null.
    Last edited by Daniil; Sep 18, 2012 at 12:41 PM. Reason: [CLOSED]
  2. #2
    Hi,

    I am able to get the views using these statements:
    var monthView = Ext.getCmp(calendarId + '-month'),
        weekBdView = Ext.getCmp(calendarId + '-week-bd'),
        dayBdView = Ext.getCmp(calendarId + '-day-bd');
    where calendarId is "CalendarPanel1".

    Could you provide a sample, please?

Similar Threads

  1. [CLOSED] DropDownField is not aligned 100% in Readonly mode
    By thchuong in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 25, 2012, 10:55 AM
  2. Replies: 0
    Last Post: Jan 13, 2012, 2:33 PM
  3. [CLOSED] Calendar - DateRange ReadOnly
    By ndotis in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: May 23, 2011, 9:23 PM
  4. [CLOSED] Calendar - readOnly ??
    By ndotis in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: May 18, 2011, 8:01 PM
  5. Calendar in readonly mode
    By reiben in forum 1.x Help
    Replies: 9
    Last Post: Dec 02, 2010, 6:55 AM

Posting Permissions