[CLOSED] StartDay in CalendarPanel with DirectEvent

  1. #1

    [CLOSED] StartDay in CalendarPanel with DirectEvent

    Hi team, in yours example:

    https://examples2.ext.net/#/Calendar/Overview/Basic/

    You have the next code to get the StarDate from JavaScript in Listener, but How Can I do to get the StarDate in the same event but with DirectEvent?

    
        dayClick: function (cal, dt, allDay, el) {
            this.record.show.call(this, cal, {
                StartDate: dt,
                IsAllDay: allDay
            }, el);
        },
    
                                <Listeners>
                                    <DayClick    Fn="CompanyX.dayClick" Scope="CompanyX" />
                                </Listeners>
    Last edited by Daniil; Oct 07, 2013 at 4:07 AM. Reason: [CLOSED]
  2. #2
    Hi @osef,

    You can send it via a DirectEvent's ExtraParams. All a listener's arguments are available in a ExtraParams Parameter's Value with Mode="Raw".
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi @osef,

    You can send it via a DirectEvent's ExtraParams. All a listener's arguments are available in a ExtraParams Parameter's Value with Mode="Raw".
    Thank you Daniil.

Similar Threads

  1. Replies: 5
    Last Post: Mar 19, 2014, 3:35 AM
  2. Calendar StartDay attribute bug
    By Rupesh in forum 1.x Help
    Replies: 16
    Last Post: Aug 01, 2013, 6:52 AM
  3. Replies: 6
    Last Post: Mar 28, 2013, 8:08 AM
  4. Replies: 1
    Last Post: Jun 09, 2011, 7:04 PM
  5. [CLOSED] Adding a button directevent in a directevent method
    By ogokgol in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 31, 2011, 10:29 AM

Tags for this Thread

Posting Permissions