Limit columns

  • I'm using Editor and I want to limit columns which are displayed in whole table view to some specific names using preg_match or just list of allowed names. But in editing one record i want to see all columns. Could you give me some tips how to achieve this properly?

    I did what i wanted using tablename method but then i have problem with duplicating (values from hide columns weren't duplicated).

  • Jakub Vrána
    Jakub Vrána

    Return an empty string from fieldName for fields which are not required. Second parameter (column order) is non-zero in select and zero in edit.