PDA

View Full Version : Controls reference to Store



umit
1 Jul 2010, 4:34 AM
Hi!
Several times, i needed to get the store behind the selected element of a combobox,... a.s.o
Can you please implement a function like combo1.getSelectedRecords()

I did this with to get the selected Record:



var pos=store1.find("Name",combo1.getValue());
if(p!=-1){
var record=store1.getAt(p);
}