官术网_书友最值得收藏!

Creating read-only fields

Another situation is where neither a window is read-only nor is the tab. It is there that we want to make a few fields read-only on a tab. For example, on our MOM window, the Client and Organisation fields need to be read-only as they are populated, by default, based on the logged in user's details and does not require any modification. This recipe describes the steps to achieve this.

How to do it...

  1. Log in as System/System with the System Administrator role.
  2. Go to the Window, Tab, and Field window and look for the Minutes Of Meeting window.
  3. Select the target tab on Tab and go to the Field tab.
  4. Check the Read Only checkbox for the Client field, as shown in the following screenshot:
    How to do it...
  5. Repeat the same for Organisation and any other field that you want to be read-only.
  6. Log out and log in as GardenAdmin/ GardenAdmin with the GardenWorld Admin role.
  7. Go to the Minutes Of Meeting window. Editing will not be allowed for all the fields we marked as read-only—Client, Organization —as shown in the following screenshot:
How to do it...
主站蜘蛛池模板: 洪泽县| 北海市| 绥中县| 哈巴河县| 洱源县| 礼泉县| 永吉县| 衡阳市| 永清县| 类乌齐县| 米泉市| 交城县| 新化县| 巨鹿县| 茂名市| 吉林省| 星座| 剑河县| 汾西县| 丹江口市| 秦皇岛市| 东方市| 罗城| 霍林郭勒市| 昌都县| 成安县| 阳高县| 聂拉木县| 民乐县| 永城市| 汝阳县| 泰来县| 汾西县| 永胜县| 宁德市| 乐平市| 明星| 济阳县| 历史| 游戏| 偃师市|