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

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


    favouriteItems.setShowAllRecords(true);
    favouriteItems.setShowRecordComponents(false);
    favouriteItems.setShowRecordComponentsByCell(false);
    favouriteItems.setShowRollOverCanvas(true);
    favouriteItems.setSelectionType(SelectionStyle.SINGLE);
    favouriteItems.addRecordDoubleClickHandler(new RecordDoubleClickHandler() {
      public void onRecordDoubleClick(RecordDoubleClickEvent event) {
        if (parent != null) {
          if (favouriteItems.getSelectedRecord() != event.getRecord()) {
            favouriteItems.selectRecord(event.getRecord());
          }
View Full Code Here


        categoryTree.setWidth(250);
        categoryTree.setHeight(224);
        categoryTree.setDataSource(supplyCategoryXmlDS);
        categoryTree.setLoadDataOnDemand(true);
        categoryTree.setAutoFetchData(true);
        categoryTree.addRecordDoubleClickHandler(new RecordDoubleClickHandler() {
            @Override
            public void onRecordDoubleClick(RecordDoubleClickEvent event) {
                final String categoryName = event.getRecord().getAttribute("categoryName");
                Criteria criteria = new Criteria("category", categoryName);
                itemListGrid.filterData(criteria);
View Full Code Here

TOP

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

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.