[CLOSED] [1.6] More label on CalendarView

  1. #1

    [CLOSED] [1.6] More label on CalendarView

    Hi,
    I need to localized "more" string with Calendarview when there is more than four activity per Day.
    Is possible?

    Thanks
    Last edited by Baidaly; Mar 16, 2013 at 3:05 AM. Reason: [CLOSED]
  2. #2
    Hello!

    You should change it after rendering:

    <ext:CalendarPanel
    	ID="CalendarPanel1" 
    	runat="server"
    	Region="Center"
    	ActiveIndex="2"
    	Border="false">
    	<GroupStore ID="GroupStore1" runat="server">
    		<Groups>
    			<ext:Group CalendarId="1" Title="Home" />
    			<ext:Group CalendarId="2" Title="Work" />
    			<ext:Group CalendarId="3" Title="School" />
    			<ext:Group CalendarId="4" Title="Other" />
    		</Groups>
    	</GroupStore>
    	<MonthView 
    		runat="server" 
    		ShowHeader="true" 
    		ShowWeekLinks="true" 
    		ShowWeekNumbers="true" 
    		/>  
    	<Listeners>
    		<ViewChange  Fn="CompanyX.viewChange" Scope="CompanyX" />
    		<EventClick  Fn="CompanyX.record.show" Scope="CompanyX" />
    		<DayClick    Fn="CompanyX.dayClick" Scope="CompanyX" />
    		<RangeSelect Fn="CompanyX.rangeSelect" Scope="CompanyX" />
    
    		<EventMove   Fn="CompanyX.record.move" Scope="CompanyX" />
    		<EventResize Fn="CompanyX.record.resize" Scope="CompanyX" />
    		<EventsRendered Handler="Ext.DomQuery.select('td.ext-cal-ev-more a').forEach(function(item) { item.text = item.text.replace(/more/g, 'MORE'); })"></EventsRendered>
    	</Listeners>
    </ext:CalendarPanel>
  3. #3
    Thank you! That's exactly what I needed. You may close the thread.

Similar Threads

  1. RTL Field label
    By azooz in forum 1.x Help
    Replies: 0
    Last Post: May 21, 2012, 11:57 AM
  2. [CLOSED] Label Style / Obtain label color based on theme
    By rthiney in forum 1.x Legacy Premium Help
    Replies: 11
    Last Post: Apr 15, 2010, 10:35 AM
  3. Label style
    By javito in forum 1.x Help
    Replies: 2
    Last Post: Oct 08, 2009, 9:46 AM
  4. ext:Label in FormLayout
    By mrozik in forum 1.x Help
    Replies: 8
    Last Post: Jul 27, 2009, 5:50 PM
  5. How to set style of label?
    By dbassett74 in forum 1.x Help
    Replies: 2
    Last Post: May 07, 2009, 6:36 PM

Posting Permissions