PDA

View Full Version : DD Grid to Grid as an ItemSelector



puyngke
26 Aug 2009, 6:19 AM
I'm a little noob with extjs and I really need your help...I was planning to use the DD Grid to grid and submit the data from the secondGridstore and I can't do it....I tried several code and I have no luck.... can you just give me an alert code that can retrieve me those id values a code that is similar to

simple.getForm().findField("itemselector").getValue();

but instead of the itemselector I want it to be the grid values...I'm not even sure if I'm doing it right God help me please T__T

...btw extjs is really awesome best framework ever!

jay@moduscreate.com
11 Sep 2009, 6:47 AM
var vals = [];

Ext.each(store.getRange(), function(record) {
vals.push(record);
});