Hybrid View

  1. #1
    Sencha User
    Join Date
    Jun 2011
    Posts
    24
    Vote Rating
    0
    lightyear416 is an unknown quantity at this point

      0  

    Default Unanswered: strange change of grid due to double click

    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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,073
    Answers
    3500
    Vote Rating
    854
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Inspect the DOM to see if there is some CSS. I do not have this in an example grid.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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.

Thread Participants: 1

Tags for this Thread