NC portal设置表头表体编辑性

    xiaoxiao2021-03-25  87

    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);//设置表格单元格编辑性

    转载请注明原文地址: https://ju.6miu.com/read-21003.html

    最新回复(0)