物料分组(物料基本分类)F7控件左树右表

kdtEntrys_materialGroup_PromptBox
.setQueryInfo("com.kingdee.eas.basedata.master.material.app.F7MaterialGroupQuery");
kdtEntrys_materialGroup_PromptBox.setVisible(true);
kdtEntrys_materialGroup_PromptBox.setEditable(true);
kdtEntrys_materialGroup_PromptBox.setDisplayFormat("$number$");
kdtEntrys_materialGroup_PromptBox.setEditFormat("$number$");
kdtEntrys_materialGroup_PromptBox.setCommitFormat("$number$");
KDTDefaultCellEditor kdtEntrys_materialGroup_CellEditor = new KDTDefaultCellEditor(
kdtEntrys_materialGroup_PromptBox);
this.kdtEntrys.getColumn("materialGroup").setEditor(
kdtEntrys_materialGroup_CellEditor);
ObjectValueRender kdtEntrys_materialGroup_OVR = new ObjectValueRender();
kdtEntrys_materialGroup_OVR.setFormat(new BizDataFormat("$name$"));
this.kdtEntrys.getColumn("materialGroup").setRenderer(
kdtEntrys_materialGroup_OVR);
UIContext ctx = new UIContext(this);
F7BaseSelector f7Selector = new F7BaseSelector(F7MaterialGroupUI.class,
kdtEntrys_materialGroup_PromptBox, ctx);
kdtEntrys_materialGroup_PromptBox.setSelector(f7Selector);
ObjectValueRender kdtEntrys_operation_OVR = new ObjectValueRender();
kdtEntrys_operation_OVR.setFormat(new BizDataFormat("$name$"));
this.kdtEntrys.getColumn("operation").setRenderer(
kdtEntrys_operation_OVR);

你可能感兴趣的:(金蝶EAS/BOS)