Results 1 to 2 of 2

Thread: strange change of grid due to double click

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Jun 2011
    Posts
    24
    Vote Rating
    0
      0  

    Default Unanswered: strange change of grid due to double click

    Hi,everyone.There is a odd event I meet with.When I double click the stripe of content of grid,the stripe will go forward a little.I don't konw the reason that leading to this.Can somebody help me to modify.
    the org grid:

    after double click:

    grid columns:
    Code:
            columns: [
                { id: 'objectnum', text: '??????', dataIndex: 'ObjectNum', sortable: false, hidden: true, width: 100 },
                 { id: 'objectname', text: '??????', dataIndex: 'ObjectName', sortable: false, hidden: false, flex: 1 },
                { id: 'monitortypeid', text: '??????', dataIndex: 'MonitorTypeID', sortable: false, hidden: true, width: 100 },
                { id: 'monitortypename', text: '??????', dataIndex: 'MonitorTypeName', sortable: false, hidden: false, flex: 1 },
                { id: 'areaid', text: '????ID', dataIndex: 'AreaID', sortable: false, hidden: true, width:100 },
                { id: 'areaname', text: '??????', dataIndex: 'AreaName', sortable: false, hidden: false, flex: 1 },
                {id: 'objectdescription', text: '??????', dataIndex: 'ObjectDescription', sortable: false, hidden: false, flex: 1 }
            ]
    the event I fire is 'itemdblclick': function (view, record, item, index) {} .However I have not oprate grid for any code.

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,323
    Answers
    3884
    Vote Rating
    1294
      0  

    Default

    Inspect the DOM to see if there is some CSS. I do not have this in an example grid.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •