Getting displayValue in ExtJS in combo

   When I was working with combofield in ExtJS, I had the value of the combo to be sent for querying the server. But, How to get the displayField of the combofield ? The idea is simple. We can use the getRawValue() to get the displayField of the combo.

                            Ext.getCmp('combo-id').getRawValue() will do the trick.

Popular posts from this blog

Vi Editor - Moving cursor to Start/End of the line.

jQuery in 2020