Package com.smartgwt.client.widgets.grid.events

Examples of com.smartgwt.client.widgets.grid.events.RecordClickHandler


        statusIcons.put(ConfigurationUpdateStatus.INPROGRESS.name(),
            ImageManager.getPluginConfigurationIcon(ConfigurationUpdateStatus.INPROGRESS));
        statusIcons.put(ConfigurationUpdateStatus.NOCHANGE.name(),
            ImageManager.getPluginConfigurationIcon(ConfigurationUpdateStatus.NOCHANGE));
        fieldStatus.setValueIcons(statusIcons);
        fieldStatus.addRecordClickHandler(new RecordClickHandler() {
            @Override
            public void onRecordClick(RecordClickEvent event) {
                new ErrorMessageWindow(MSG.common_severity_error(), getStatusHtmlString(event.getRecord())).show();
            }
        });
View Full Code Here


            return "<a href=\"" + cellValue + "\" target=\"_blank\"><img src=\"" + Imgs.OTHER_IMAGES_DIR.getUnprocessed() + Imgs.INFO.get() + "\"/ width=\"16\" height=\"16\"></a>";
          }
        }
                return null;
      }});
    searchGrid.addRecordClickHandler(new RecordClickHandler(){
      @Override
      public void onRecordClick(RecordClickEvent event) {
        view.getSelectedTab().getEndpointInput().setEndpoint(event.getRecord().getAttributeAsString(Endpoints.KEY_ENDPOINT));
        window.destroy();
      }});
View Full Code Here

        final ListGrid listGrid = new ListGrid();
        listGrid.setWidth100();
        listGrid.setHeight(200);
        listGrid.setDataSource(dataSource);
        listGrid.setAutoFetchData(true);
        listGrid.addRecordClickHandler(new RecordClickHandler() {
            public void onRecordClick(RecordClickEvent event) {
                form.reset();
                form.editSelectedData(listGrid);
            }
        });
View Full Code Here

            grid = new ListGrid();
            grid.setWidth(500);
            grid.setHeight(350);
            grid.setDataSource(datasource);
            grid.setAutoFetchData(true);
            grid.addRecordClickHandler(new RecordClickHandler() {
                public void onRecordClick(RecordClickEvent event) {
                    form.clearErrors(true);
                    form.editRecord(event.getRecord());
                    saveButton.enable();
                }
View Full Code Here

        ListGridField countryName = new ListGridField("countryName", "Country");
        ListGridField capital = new ListGridField("capital", "Capital");
        ListGridField continent = new ListGridField("continent", "Continent");
        printGrid.setFields(countryCode, countryName, capital, continent);

        printGrid.addRecordClickHandler(new RecordClickHandler() {
            public void onRecordClick(RecordClickEvent event) {
                printViewer.setData(new Record[]{event.getRecord()});
            }
        });
View Full Code Here

        supplyGrid.setDataSource(supplyItem);
        supplyGrid.setAutoFetchData(true);
        supplyGrid.setCanEdit(true);
        supplyGrid.setHeight(200);
        supplyGrid.addRecordClickHandler(new RecordClickHandler() {
            @Override
            public void onRecordClick(RecordClickEvent event) {
                supplyForm.editRecord(event.getRecord());
            }
        });
View Full Code Here

            grid.setWidth(500);
            grid.setHeight(350);
            grid.setDataSource(datasource);
            grid.setShowResizeBar(true);
            grid.setAutoFetchData(true);
            grid.addRecordClickHandler(new RecordClickHandler() {

                public void onRecordClick(RecordClickEvent event) {
                    form.clearErrors(true);
                    form.editRecord(event.getRecord());
                    saveButton.enable();
View Full Code Here

TOP

Related Classes of com.smartgwt.client.widgets.grid.events.RecordClickHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.