load_data in smartgwt

    public void load_data() {
        if (loading == 0) {
            loading = 1;
            // --- DATASOOURCE ---
            GridSource.fetchData(
                     new Criteria("1", "a"),
                     new Criteria("1", "a"),
                     new Criteria("1", "a"),
                     new Criteria("1", "a"),
                    new DSCallback() {
                        @Override
                        public void execute(DSResponse response,
                                Object rawData, DSRequest request) {
                            Grid_editor.setData(response.getData());
                        }
                    });
        }
    }

load_data en smartgwt

Comments

Popular posts from this blog

how to access the DOM gwt smartclient

smart gwt allow only numbers in textfield