Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Ext User
    Join Date
    Sep 2010
    Posts
    7
    Vote Rating
    0
    haotten is on a distinguished road

      0  

    Default Grid onRender and mouse events.

    Grid onRender and mouse events.


    I have set up a Grid, where the render event of the ColumnConfigs create a FlexTable to display in the Grid Cell. This works really well, and the grid properly displays all the flextables in the cells. All the key events seem to work properly. (Up, Down, Left, Right, etc....). However, none of the mouse events seem to get triggered (mousedown, etc...). It almost seems as if the FlexTable that has been rendered into the grid cell is absorbing the mouse event, preventing it from getting to the Grid.

    If I click just outside of the drawn flextable in the grid cell (there is some padding), then the Grid does pick up the mouse event. Any ideas as to how I can force the mouse events to pass through the drawn flextable so that the Grid can see them?

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    A ColumnConfig does not fire any event, you probably mean a GridCellRenderer?

    Try to increase the selector deepth:

    Code:
    grid.getView().setRowSelectorDepth(20);
    grid.getView().setCellSelectorDepth(20);

  3. #3
    Ext User
    Join Date
    Sep 2010
    Posts
    7
    Vote Rating
    0
    haotten is on a distinguished road

      0  

    Default


    You are correct, I meant GridCellRenderer. Setting the depth worked perfectly. thx.

    Now I need to go look at the code and see what it means to set the cellsectiondepth.

  4. #4
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    When clicking somewhere, the grid tries to find the cell / row which belongs to the element you clicked. It just bubbules up the amount you configured. If you add large markup, which a table is, than the default depth to bubble up is not sufficient anymore

  5. #5
    Ext User
    Join Date
    Sep 2010
    Posts
    7
    Vote Rating
    0
    haotten is on a distinguished road

      0  

    Default


    ok, makes sense..... thx for your help

Similar Threads

  1. Ext.Window mouse events
    By Stju in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 12 May 2010, 8:44 AM
  2. Mouse events fired multiple times
    By Glimpse in forum Ext GWT: Discussion
    Replies: 5
    Last Post: 23 Sep 2009, 8:16 AM
  3. Mouse Events for FormPanel
    By user4 in forum Ext GWT: Help & Discussion (1.x)
    Replies: 2
    Last Post: 26 Jan 2009, 5:49 AM

Thread Participants: 1

Tags for this Thread