populate dropdown

Hello
I have the code below that works onLoad() but when tried to executed later it fails, the exact same lines. I know the second time the array is there, getting the combo works as seen from firebug, but nothing in the dropdown. Ideas, help please?

vendorsA.sort();
var vendorsCol = mygrid.getCombo(layout00.get(“vendorColNum”));
for(j=0;j<vendorsA.length;j++){
vendorsCol.put(vendorsA[j],vendorsA[j]);
}

The getCombo API must work the same for second and next call.
Please double check that vendorsA and layout00.get(“vendorColNum”) are valid during the second call.

If issue still occurs - please provide any kind of sample or a demo link where the issue can be reconstructed.