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

Thread: Cursor Position in TextField

  1. #11
    Sencha Premium Member
    Join Date
    Jun 2015
    Posts
    15

    Default

    Yes KOKO.

  2. #12

    Default

    Hi,
    I'm using extjs 6.0.2, And this is not working ,
    Will you please advice me.
    I'm trying to use this with html editor

  3. #13
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,436

    Default

    Quote Originally Posted by Rohan Jalil View Post
    Hi,
    I'm using extjs 6.0.2, And this is not working ,
    Will you please advice me.
    I'm trying to use this with html editor
    This thread is for Ext JS 3 which is very old and quite different than Ext JS 6. I would suggest you open a new thread in the Ext JS 6 forum.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

  4. #14

    Default

    Quote Originally Posted by mitchellsimoens View Post
    This thread is for Ext JS 3 which is very old and quite different than Ext JS 6. I would suggest you open a new thread in the Ext JS 6 forum.
    https://www.sencha.com/forum/showthr...change-listner


    Will you please check this one.?
    Thanks for you responce

  5. #15
    Sencha Premium User
    Join Date
    Mar 2015
    Posts
    40

    Default

    Quote Originally Posted by Rohan Jalil View Post
    Hi,
    I'm using extjs 6.0.2, And this is not working ,
    Will you please advice me.
    I'm trying to use this with html editor
    You need to go deeper until the underlying input element, for me the following works:
    Code:
    var el = this.getEl().dom.querySelector('textarea');
    el.focus();
    el.setSelectionRange(pos, pos);

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •