PDA

View Full Version : setting default value to xtype of combo inside grid having issues



amit dhanke
16 Feb 2016, 11:38 PM
i have grid inside panel which has four columns out of four there are three columns having combos and i want set default value to first column combo without clicking on combo i tried a lot but all vain i try to set value at after store load but when i tried to do access my xtype combo Ext.getCmp it come null still i can't click on combo i set the itemId to each combo these combos are dynamic combos created based on backend(php) values coming in store
54036 above value1 is combo created based on how much parameter names in store so i want set all combo default value but might be ext js has bug so it couldn't set the value

Gary Schlosberg
18 Feb 2016, 10:10 AM
Thanks for the report. Can you please post a test case which reproduces this issue so we can see what might be happening?
https://fiddle.sencha.com/#home

amit dhanke
18 Feb 2016, 10:14 PM
https://fiddle.sencha.com/#fiddle/15us

here Inside CenterGrid there is xtype of combo value1combo which value am trying to set after loading store of combo above but combos are dynamic so ids is not accessing that time i need to click on combo to set values i wanted show n position store value in n combo without clicking on combo or button at time of page and store load but ids are not globally access using Ext.getCmp and other all method i have tried but all vain so that is bug of Ext js please resolve it