Hi,
I want to set the value for TextItem by using setValue() method.
And also I want to make it readOnly to TextItem. I tried setCanEdit(false). It shows error.(The method setCanEdit(boolean) is undefined for the type TextItem)
My Code is
updatedBy = new TextItem(ITPC_USER_HELP.UPDATED_BY);
updatedBy.setValue(remoteUser);
updatedBy.setCanEdit(false);
Please let me know how to make it readonly.
I want to set the value for TextItem by using setValue() method.
And also I want to make it readOnly to TextItem. I tried setCanEdit(false). It shows error.(The method setCanEdit(boolean) is undefined for the type TextItem)
My Code is
updatedBy = new TextItem(ITPC_USER_HELP.UPDATED_BY);
updatedBy.setValue(remoteUser);
updatedBy.setCanEdit(false);
Please let me know how to make it readonly.
Comment