Inicio > web, Web 2.0 > Cambiar el text a un botón Ext-js

Cambiar el text a un botón Ext-js

Después de buscar mucho por allí me encontré este código preciso para cambiar el nombre de un botón en ext-js, no hace falta más que poner:

Ext.getCmp('btnLogin').setText('Ingresar');

Muy útil cuando se hace aplicaciones dinámicas.

saludos

 

Christian Mora

@christmo

Advertisement
Categorías:web, Web 2.0 Etiquetas: , ,
  1. Aún no hay comentarios.
  1. Aún no hay trackbacks

Deja un comentario

Fill in your details below or click an icon to log in:

Logo de WordPress.com

You are commenting using your WordPress.com account. Log Out / Cambiar )

Twitter picture

You are commenting using your Twitter account. Log Out / Cambiar )

Facebook photo

You are commenting using your Facebook account. Log Out / Cambiar )

Connecting to %s

Seguir

Get every new post delivered to your Inbox.

Únete a otros 258 seguidores