I am using a tagfield as a widget column. I am selecting few values from drop down and then saving it. Again when I open I wanted my selected value should be present there in tagfield. It is only coming only after tagfield getting focused.
What I am trying here is, My Code :
var SValue = XML.getAttribute('value');
if(filterType.xtype == "tagfield"){
filterType.setValue(SValue); // This is not working
filterField.inputEl.set({'placeholder':SValue}); // This is working but not correct way to do.
}
I used placeholder it somewhat showing values but this is not correct what I want. Can anyone suggest me what I can do here. If it is getting automatically focused then also there is chance to work.
Note : In another word its like how to load or set the value to tagfield by reading particular attribute from XML.