Hi, I'm trying to change the form item input/output box width in my code for one formItem that is being called from the dataSource. For example trying to make the States box smaller than the description box. Do I do that in the dataSource? or would I override that in this code? Thank you... Please let me know if I can provide more details.
isc.ClassFactory.defineClass("StatesPanel", BaseBodyPanel).addProperties({
panelTitle: "States",
dataSource: "rscReacctStates",
editButtonProperties: {
click : function() {
this.panel.form.getItem("st_desc").setCanEdit(false);
this.panel.editClicked();
}
},
InitWidget : function() {
this.Super("initWidget", arguments);
}
});
isc.ClassFactory.defineClass("StatesPanel", BaseBodyPanel).addProperties({
panelTitle: "States",
dataSource: "rscReacctStates",
editButtonProperties: {
click : function() {
this.panel.form.getItem("st_desc").setCanEdit(false);
this.panel.editClicked();
}
},
InitWidget : function() {
this.Super("initWidget", arguments);
}
});
Comment