[CLOSED] More than one click to update Date in Grid Panel

  1. #1

    [CLOSED] More than one click to update Date in Grid Panel

    Hi,

    http://mvc.ext.net/#/GridPanel_Edita..._DirectMethod/

    In the above example, more than one click is required, if I want to change the date through datepicker.
    First I have to select a cell for editing by single/double click. Then I need to click on the date picker icon to launch the calendar.

    Is there any way to launch the calendar on a single click?

    Thanks,
    Rajiv Dutt
    Last edited by Daniil; Mar 14, 2014 at 8:26 AM. Reason: [CLOSED]
  2. #2
    Hello,

    Handling the "Focus" and "Blur" Listeners appears to work well.

    Example

    Html.X().DateColumn()
        .Text("Last Updated")
        .DataIndex("LastChange")
        .Format("yyyy-MM-dd")
        .Editor(Html.X().DateField()
            .Format("yyyy-MM-dd")
            .Listeners(listeners => {
                listeners.Focus.Handler = "this.expand();";
                listeners.Blur.Handler = "this.collapse();";
            })
            )
    Geoffrey McGill
    Founder

Similar Threads

  1. [CLOSED] date rendering in grid panel
    By EddieJensen in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Sep 25, 2013, 7:25 PM
  2. Replies: 0
    Last Post: May 12, 2012, 11:24 AM
  3. Update Panel Content from Click
    By Rick Atkinson in forum 1.x Help
    Replies: 4
    Last Post: Oct 22, 2011, 6:48 AM
  4. formatting of json date in a Grid Panel
    By Ratoun in forum 1.x Help
    Replies: 0
    Last Post: Nov 08, 2010, 8:14 AM
  5. Replies: 0
    Last Post: Apr 06, 2010, 10:01 AM

Tags for this Thread

Posting Permissions