garyiskidding
27 Jul 2009, 11:37 PM
Hi, i have a store loaded up which populates my grid. The store uses a loader with a proxy and a reader.
I need data from one of the columns in the grid to be populated into a combobox.
Lets say one of the column in my grid is 'First Name', and all the values are being populated using one of the fields in the store's loader (let say 'firstName'). Obviously there are many more fields that the loader loads including 'firstName', to populate all the columns in the grid, but i want to use all the values of 'firstName' in all the records in the store, to be populated into a different combobox.
So, if my grid looks like:
-----------------------------------------------------------
S.No |FirstName | LastName |....
-----------------------------------------------------------
1) | Mary | Pierce
2) | Roger | Fedrer
-----------------------------------------------------------
The combobox(or its store/loader) should load data the grid's store as:
------------
FirstName
-----------|
Mary |
Roger |
-----------|
Please suggest how this could be achieved.
I need data from one of the columns in the grid to be populated into a combobox.
Lets say one of the column in my grid is 'First Name', and all the values are being populated using one of the fields in the store's loader (let say 'firstName'). Obviously there are many more fields that the loader loads including 'firstName', to populate all the columns in the grid, but i want to use all the values of 'firstName' in all the records in the store, to be populated into a different combobox.
So, if my grid looks like:
-----------------------------------------------------------
S.No |FirstName | LastName |....
-----------------------------------------------------------
1) | Mary | Pierce
2) | Roger | Fedrer
-----------------------------------------------------------
The combobox(or its store/loader) should load data the grid's store as:
------------
FirstName
-----------|
Mary |
Roger |
-----------|
Please suggest how this could be achieved.