NC portal设置表头表体编辑性

来源:互联网 发布:2016年部门预算软件 编辑:程序博客网 时间:2024/06/05 09:13

LfwView main=LfwRuntimeEnvironment.getWebContext().getPageMeta().getView("main");

//表体

GridComp gridb=(GridComp) main.getViewComponents().getComponent("phoneBvo_grid");

GridColumn phoneno=(GridColumn) gridb.getColumnById("phoneno");

phoneno.setEditable(true);

//表头

FormComp formCompHead = (FormComp)main.getViewComponents().getComponent("phoneHvo_form");

formCompHead.getElementById("def3").setEnabled(false);//设置表格单元格编辑性

0 0
原创粉丝点击