PDA

View Full Version : selectfield selected record visibility in dropdown list



NickT
27 Jul 2011, 12:51 PM
Hi,
I have a selectfield that is bound to a store. When i invoke the dropdown list to appear the currently selected record is often not visible. is there a way to force the selected row to be visible in the selectfield dropdown list?

thanks for any suggestions

bharatn
27 Jul 2011, 4:27 PM
What device are you using? How often is this happening?

You can get underlying list component via

Ext.getCmp('selectID').getListPanel().getComponent(0) or
Ext.getCmp('selectID').getListPanel().down('#list')

Then try css styling the row with selected value (Ext.getCmp('selectID').getValue())