Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

220
Views
Cómo mostrar popover junto al cuadro de texto en Ext js

Quiero mostrar una ventana emergente (con mensaje) junto al cuadro de texto cuando el usuario hace clic en el cuadro de texto usando Ext JS. ¿Puede alguien por favor ayudarme en esto?

Por derechos de autor, he eliminado el texto.

ingrese la descripción de la imagen aquí

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Tienes que agregar focus y blur de oyentes al campo de texto.

Dentro del evento de focus , el primer argumento es el campo de texto. El texto que agrega a la ventana está dentro de textfield.popupText .

EJEMPLO

 xtype: 'textfield', popup: null, popupText: 'Testing Popup Text', listeners: { focus: function(field) { field.suspendEvent('blur'); field.suspendEvent('focus'); field.popup = field.popup || Ext.create({ xtype: 'window', ownerCt: field, height: 80, width: 200, html: field.popupText }); field.popup.showBy(field.el, 'l-r') field.focus(); field.resumeEvent('blur'); field.resumeEvent('focus') }, blur: function(field) { field.popup.destroy(); }
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!