1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    13
    Vote Rating
    0
    chandran09 is on a distinguished road

      0  

    Default Unanswered: Ext js 4 : How to monitor cursor postion in textfield or textareafield?

    Unanswered: Ext js 4 : How to monitor cursor postion in textfield or textareafield?


    Hi,
    I have form which contains one combobox and one textareafield. What i want to do is that, insert a new string in the textareafield at the current cursor position along with the previous texts typed into it, only on the combobox 'select' event occurs. Please help me by providing the code

  2. #2
    Sencha User skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,338
    Answers
    498
    Vote Rating
    248
    skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of

      0  

    Default


    I don't believe there's a built-in method to get information about the current caret position or the current selection. If I were you I'd write one using Google searches with the selectText() method for inspiration:

    http://docs.sencha.com/ext-js/4-0/so...hod-selectText

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar