Ignore:
Timestamp:
Oct 27, 2015, 12:06:52 AM (9 years ago)
Author:
chronos
Message:
  • Added: Allow to hide some columns from IS lists.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/IS/IS.php

    r755 r760  
    477477        if($ExcludeColumn != $ItemIndex)
    478478        if(!array_key_exists('Hidden', $FormItem) or ($FormItem['Hidden'] == false))
     479        if(!array_key_exists('NotInList', $FormItem) or ($FormItem['NotInList'] == false))
    479480          $TableColumns[] = array('Name' => $ItemIndex, 'Title' => $FormItem['Caption']);
    480481        $UseType = $UseType = $FormItem['Type'];
     
    536537    foreach($FormClass['Items'] as $ItemIndex => $FormItem)
    537538    if(!array_key_exists('Hidden', $FormItem) or ($FormItem['Hidden'] == false))
     539    if(!array_key_exists('NotInList', $FormItem) or ($FormItem['NotInList'] == false))
    538540    if((!array_key_exists($FormItem['Type'], $this->System->FormManager->FormTypes) or
    539541    (array_key_exists($FormItem['Type'], $this->System->FormManager->FormTypes) and
     
    558560      foreach($FormClass['Items'] as $ItemIndex => $FormItem)
    559561      if(!array_key_exists('Hidden', $FormItem) or ($FormItem['Hidden'] == false))
     562      if(!array_key_exists('NotInList', $FormItem) or ($FormItem['NotInList'] == false))
    560563      if((!array_key_exists($FormItem['Type'], $this->System->FormManager->FormTypes) or
    561564      (array_key_exists($FormItem['Type'], $this->System->FormManager->FormTypes) and
Note: See TracChangeset for help on using the changeset viewer.