Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Grid EnableLocking and CellEditing : bug -> columns are not align with their header

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #11
    Sencha User
    Join Date
    Jan 2016
    Location
    Brazil
    Posts
    144

    Default

    Something that annoyed me on the grid with cellEditor is that when it tries to ensure visibility, even though cellEditing sends the column the focus is wanted, Ext.panel.Table.privates.doEnsureVisible() insists on getting the outline of a whole row, instead of the cell. I just hacked into that to make it call me.getCell() instead of me.getNode() when the column it wants to ensure visibility is specified, so it eliminates unexplained scrolling if:
    1. you click a partially displayed cell (it will scroll just enough to show the whole cell) -and-
    2. you start editing that (it used to scroll more even though that was no longer necessary!

    But well, running the fiddle above, 6.5.0 does not have this issue at all (I think it still calls the getNode() for the wrong outline, but now they have two calls for syncing scroller, one they fix the scroll vertically (using the full row outline), and then they call again the whole thing to fix the horizontal scroll, now correctly using the getCell() approach. I'm not sure why 6.5.0 took that bricky path. (instead of just getCell() if column has been specified!)

  2. #12

    Default

    Hi,

    With upgrading my application to the latest framework (v6.5) my issue is solved.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Column header align independent from column value align
    By ExDev in forum Sencha Ext JS Q&A
    Replies: 5
    Last Post: 3 Jun 2015, 11:57 PM
  2. How can I align the column header cell to center without...
    By andresdavidortiz in forum Ext: Discussion
    Replies: 1
    Last Post: 11 Jan 2013, 5:41 AM
  3. Replies: 3
    Last Post: 27 Sep 2012, 2:47 AM
  4. Grid header align different than column alignment?
    By billp in forum Sencha Ext JS Q&A
    Replies: 4
    Last Post: 21 Jun 2012, 6:08 AM
  5. grid column header align right question
    By euchiyama in forum Sencha Ext JS Q&A
    Replies: 1
    Last Post: 6 Jun 2008, 9:29 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
  •