Hi,
I need to localized "more" string with Calendarview when there is more than four activity per Day.
Is possible?
Thanks
Printable View
Hi,
I need to localized "more" string with Calendarview when there is more than four activity per Day.
Is possible?
Thanks
Hello!
You should change it after rendering:
Code:<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>
Thank you! That's exactly what I needed. You may close the thread.