I need make a grid where i take a result of a callback...

then i need set a custom result for each row.....

this result will stay in a combobox

example


name| combo result
     1  |  a, b, c
     2  |   e, f, g

 how i make this???

public class Teste extends UserCustomCellEditor {
    private Store store = null;

    @Override
    public GridEditor getCellEditor(int colIndex, int rowIndex) {
        ComboBox combo = new ComboBox();
//        combo.setStore(store);
        combo.setDisplayField("opcao");
        combo.setMode(ComboBox.REMOTE);
        combo.setTriggerAction(ComboBox.ALL);
        combo.setTypeAhead(true);
        combo.setSelectOnFocus(true);
        combo.setWidth(200);
        combo.setResizable(true);
        return new GridEditor(combo);
    }

    public Store getStore() {
        return store;
    }

    public void setStore(Store store) {
        this.store = store;
    }

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to