Results 1 to 2 of 2

Thread: strange change of grid due to double click

  1. #1
    Sencha User
    Join Date
    Jun 2011
    Posts
    25
    Vote Rating
    0
      0  

    Default 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,556
    Answers
    3931
    Vote Rating
    1272
      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! Checkout the CODE tag!

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

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
  •