1. #1
    Ext User
    Join Date
    Aug 2009
    Posts
    8
    Vote Rating
    0
    mksreddy is on a distinguished road

      0  

    Default Control Select in Dataview

    Control Select in Dataview


    Hi,

    I am trying to use Control select with Image Viewer example
    http://www.extjs.com/deploy/dev/exam...organizer.html

    Though Shift Select works, Control Select doesn't work on the example.

    But control select works just fine in data view example (http://www.extjs.com/deploy/dev/exam...data-view.html) and I can't seem to find the difference related to Control select.

    Can someone throw some light on how to make control select work for ImageViewer example?

    Thanks in Advance.

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    91
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    It's probably the ImageDragZone that is causing this...

  3. #3
    Ext User
    Join Date
    Aug 2009
    Posts
    8
    Vote Rating
    0
    mksreddy is on a distinguished road

      0  

    Default


    Thanks.

    Commenting the following lines seem to have fixed the issue:

    if(!view.isSelected(target)){
    view.onClick(e);
    }

Thread Participants: 1