unfortunately it's not working...
i don't know, maybe is the version of GWT 1.5.3?
there is something strange.. i've tried with the examples online (
http://gwt-ext.com/demo) and i'm having the same problem...

anyway thank you very much leo!

Regards,
Eli


On Thu, Oct 30, 2008 at 4:05 PM, leo_BsAs <[EMAIL PROTECTED]> wrote:

>
> Ok, last try:
>
> public void loadTable(){
>
>        RecordDef recordDef = new RecordDef(
>            new FieldDef[]{
>                new DateFieldDef("created"),
>                new StringFieldDef("description"),
>                new StringFieldDef("author")
>            }
>        );
>
>        MemoryProxy proxy = new MemoryProxy(getNotesData());
>        ArrayReader reader = new ArrayReader(recordDef);
>        Store store = new Store(proxy, reader);
>
>         ColumnConfig configDate = new ColumnConfig("Creado",
> "created", 100, true);
>        configDate.setRenderer(new Renderer() {
>               public final String render(Object value, CellMetadata
> cellMetadata, Record record, int rowIndex, int colNum, Store store) {
>                   return format.format((Date) value);
>               }
>           });
>        ColumnConfig[] columns = new ColumnConfig[] { configDate,
>            new ColumnConfig("Descripcion", "description", 350, true),
>            new ColumnConfig("Autor", "author", 150, true)
>        };
>
>        ColumnModel columnModel = new ColumnModel(columns);
>
>         notesTable = new GridPanel(store, columnModel);
>
>        notesTable.setStripeRows(true);
>        notesTable.setWidth(700);
>
>         GridView view = new GridView();
>        view.setForceFit(true);
>
>         notesTable.setView(view);
>
>        this.add(notesTable);
>        this.doLayout();
>
> //The lines:
>        store.load();
>        notesTable.getView().refresh(true);
>
>    }
>
>
> let see...
>
> Leo
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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