Jump to content

Horizontal scroll jump


Recommended Posts

  • 2 months later...

You can add this code to the main form script.

Ext.override(Ext.grid.Panel, {
      'cellmousedown': function (sender, td, cellIndex, record, tr, rowIndex, e, eOpts){
         if ((cellIndex < 2) && (sender.grid.getView().el.dom.scrollLeft < 0)){
           sender.grid.getScrollable().scrollTo({x: 0})


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...