Hello all!
first of all thnks for your superb component.
Question: i want to select first element after loadXML… but i can’t select first until loadXML finishes… how may i know this? there is any event to know when loadXML finished?
The problem is that after loadXML (if async) if use selectOption function none is selected (because it haven’t finished yet).
I have to modify JS source to make component sync… but it’s not solution.
can any one help?
(sorry for my english)
best regards
there is any event to know when loadXML finished?
You can use second parameter of loadXML command
combo.loadXML(url,function(){
//will be called after data loading
grid.selectOption(0);
})
Thnks!!!
It worked like a charm…
thnk for your support.
Best regards