Results 1 to 2 of 2

Thread: Show Div/Panel at Absolute Position

  1. #1

    Lightbulb Show Div/Panel at Absolute Position


    I am using ExtJS 4.2.1 and I want to display a DIV/Panel in the ExtJS Grid Cell Click.
    When the user click on the CELL it should expand a DIV/Panel at the absolute position of the CELL. same like for DATEPICKER as it gets open

    Any Suggestion/Workarounds are welcome.

    Manish Pandit

  2. #2
    Sencha User
    Join Date
    Nov 2014



    The next-to-last argument passed to handlers of the "cellclick" event is the event object, which should contain the coordinates of the click event. The handler also passes the <td> in which the event occurred, which you could use to get the position/dimensions of the cell. From here, you could simply use showAt() to display a floating panel (or window) at the appropriate location, or even showBy() to simplify it further.

    I hope this helps! Thanks

Similar Threads

  1. How to set absolute position of floating panel?
    By murrah in forum Sencha Touch 2.x: Q&A
    Replies: 5
    Last Post: 7 Aug 2013, 4:24 AM
  2. how to set an absolute position for a floating panel?
    By MPeg in forum Sencha Touch 1.x: Q&A
    Replies: 3
    Last Post: 12 Apr 2013, 10:50 AM
  3. Ext.Button absolute position help
    By [email protected] in forum Ext 2.x: Help & Discussion
    Replies: 10
    Last Post: 9 Sep 2009, 4:22 PM
  4. Ext.Grid - div with position absolute on IE
    By phedoreanu in forum Ext 2.x: Help & Discussion
    Replies: 9
    Last Post: 7 Sep 2009, 11:30 PM
  5. How to set absolute position on RootPanel?
    By Konstantin.Scheglov in forum Ext GWT: Bugs (2.x)
    Replies: 5
    Last Post: 21 Jun 2009, 11:22 AM

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