[CLOSED] Calendar Add/Edit event When control backgroud color customization

  1. #1

    [CLOSED] Calendar Add/Edit event When control backgroud color customization

    Hi,

    We are using coolite 1.0 for our web application, we've implemented coolite 1.0 Calendar module in our application. in that calendar module there are functions Add /Edit Event which will open the Event page. In that page there is control called When. In this control we want show the background color as Yellow becuase as per our application standard mandatory controls should have the background color as yellow.

    We've applyed the css class to this when control(date-range) but it's not showing background color correctly as we expected, specfically From and To date controls not showing background color . Please refer the attachment for more information.

    Following are the code
    Ext.getCmp('date-range').addClass('edit-form-manitatory');
    
    .edit-form-manitatory
    {
     background:#fffade url("../images/slate/tabs/txt-bg.png") no-repeat;
     background-position:top right ;
     border:1px solid #888888;
    }
    Please provide your solution.

    Thanks,
    Speedstep
    Attached Thumbnails Click image for larger version. 

Name:	Calendar_When.png 
Views:	103 
Size:	17.2 KB 
ID:	4342  
    Last edited by Daniil; Jun 12, 2012 at 4:33 PM. Reason: Please use [CODE] tags, [CLOSED]
  2. #2
    Hi,

    Here you are.

    Example
    <style type="text/css">
        .yellow {
            background-image: none;
            background-color: yellow;
        }
    </style>
    
    <ext:EventEditWindow 
        runat="server" 
        Hidden="true" 
        GroupStoreID="GroupStore1">
        <Listeners>
            <Render Handler="   var dateRangeItem = this.formPanel.get('date-range');
                                dateRangeItem.on('render', function (field) {
                                    field.startDate.addClass('yellow');
                                    field.startTime.addClass('yellow');
                                    field.endDate.addClass('yellow');
                                    field.endTime.addClass('yellow');
                                });" />
        </Listeners>
    </ext:EventEditWindow>

Similar Threads

  1. [CLOSED] Edit Event to Calendar
    By Pablo_Azevedo in forum 1.x Legacy Premium Help
    Replies: 10
    Last Post: Apr 19, 2013, 5:35 AM
  2. [CLOSED] Customizing Edit Event Details Window of Calendar.
    By Suntico in forum 2.x Legacy Premium Help
    Replies: 5
    Last Post: Apr 19, 2013, 5:34 AM
  3. [CLOSED] CalendarPanel - Weekends backgroud color
    By emmanuel.sans.domenech in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jan 16, 2012, 2:55 PM
  4. Calendar - Change edit event template
    By craig2005 in forum 1.x Help
    Replies: 12
    Last Post: Jan 30, 2011, 6:56 PM
  5. [CLOSED] [1.0] Calendar - hide/disable buttons in event edit window
    By ljankowski in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Oct 08, 2010, 12:21 PM

Posting Permissions