0
TreeGrid.can에서 모든 리프 노드의 셀에 대해 ComboBox를 렌더링하고 싶습니다. . 알아낼 수 없다.ComboBox를 Ext-GWT의 TreeGrid에있는 셀로 사용
감사합니다. Bhaswanth Gattineni.
TreeGrid.can에서 모든 리프 노드의 셀에 대해 ComboBox를 렌더링하고 싶습니다. . 알아낼 수 없다.ComboBox를 Ext-GWT의 TreeGrid에있는 셀로 사용
감사합니다. Bhaswanth Gattineni.
Sencha overivew에는 몇 가지 예가 있습니다. 버튼 예에
TreeGrid에 http://www.sencha.com/examples/#widgetrenderertreegrid
leafnode에 노드가 있다면 버튼 콤보로 위젯 렌더러 체크하여 교체; 텍스트 필드 예에
ColumnConfig name = new ColumnConfig("name", "Name", 100);
name.setRenderer(new WidgetTreeGridCellRenderer<ModelData>(){
@Override
public Widget getWidget(ModelData model, String property, ColumnData config, int rowIndex, int colIndex,
ListStore<ModelData> store, Grid<ModelData> grid) {
final SimpleComboBox<String> combo = new SimpleComboBox<String>();
combo.setForceSelection(true);
combo.setTriggerAction(TriggerAction.ALL);
combo.add("aaaaa");
return combo;
}
});
TreeGrid에