1. #1
    Ext User
    Join Date
    Sep 2010
    Vote Rating
    nk10ere is on a distinguished road


    Default Resize grid by dragging cell egdes


    I would like to make the grid cells provide the same resize functionality as the grid headers. That is, when I click on the edge of a cell and drag it, the whole column (column header along with its cells) should respectively resize.

    Can I do that?

    Thanks in advance.

  2. #2
    Ext JS Premium Member troseberry's Avatar
    Join Date
    Feb 2010
    Dayton, OH
    Vote Rating
    troseberry will become famous soon enough



    The way the grid works is that view listens to the 'mousemove' event and then fires off the "this.handleHdMove" private method which does the calculations and alows it to work. You would have to see if you can attach to and repeat this similar function on a cell.

Similar Threads

  1. [solved] GridPanel / Grid doesn't resize columns on window resize
    By tarsolya in forum Ext 1.x: Help & Discussion
    Replies: 19
    Last Post: 10 Apr 2012, 3:51 PM
  2. Render a panel to a large table cell... monitor resize of table cell
    By mjaomaha in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 14 Apr 2010, 7:43 AM
  3. Dragging a cell to copy its content
    By lemig in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 25 Aug 2009, 12:51 PM
  4. Replies: 3
    Last Post: 24 Jul 2009, 1:47 AM
  5. Dragging the viewport of the window while dragging an element in grid
    By deepthi in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 4 Jan 2008, 4:26 AM

Thread Participants: 1

Tags for this Thread