Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6609165
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:41:12+00:00 2026-05-25T19:41:12+00:00

I have ExtJS grid (editorGridPanel), where one of cells is CustomDateField. How can i

  • 0

I have ExtJS grid (editorGridPanel), where one of cells is CustomDateField.
How can i disable manual entering the date inside this field?

I try add listeners to editor, but there is no keypress event (!) to disable entering.
Also – i try an adding of listener to whole grid, = but when editor is active, it is not fired grid keypress event.

Pls help me. Here is field definition:

{                         
  header : "Release Date",
  dataIndex : 'releasedate',
  sortable : true,
  width: 90,

  locked: true,

  renderer: function(value, metaData, r) { 
      metaData.attr = rowcolor(r.data.status);
      return value;
  },

  editor : new Ext.ux.form.CustomDateField({
      allowBlank: true,
      format: 'm/d/Y',
      width : 120

  /* this not works VVVV */
      ,listeners: {
              'keypress' : function (field_, new_, old_  )  {
                $.log( "Field", field_ );
                $.log( "New", new_ );
                $.log( "Old", old_ );
          }
      }


  })
 },

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T19:41:13+00:00Added an answer on May 25, 2026 at 7:41 pm

    This is answer:

      editor : new Ext.form.DateField({ /*Ext.ux.form.Custom*/
          allowBlank: true,
          format: 'm/d/Y',
          width : 120,
          enableKeyEvents: true,
    
    
          listeners: {
                  'keydown' : function (field_, e_  )  {
    //                    $.log( "keydown", field_, e_ );
                    e_.stopEvent();
                    return false;
              }
          }
    
    
      })
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem. I use extjs grid . This grid will be refreshed
I have created a grid with extjs 4. The selection.CheckboxModel is implemented to. This
I have a problem with a Ext.Grid.EditorGridPanel, I am currently using ExtJS 2.3.0, that
I have created one editor grid panel using extjs in that grid panel by
I have an ExtJS Grid, which has 5 columns. In one of the columns,
So I have a ExtJs 4 Grid Panel that has two columns. Column ONE
In extjs i have a grid. This grid is refreshed every ** seconds. To
I have ExtJS GRID with checkcolumn, which is declared this way: // the check
I have an ExtJS EditorGridPanel with several columns. One of the columns is bound
I have a grid panel in ExtJS 4 with the following features: extend :

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.