1. OG data type - ColumnClassDefUserSetList

    Artikel: AN0001669Aktualisiert:
    Die vorgegebene Sprachenversion vom Artikeltext wird angezeigt, weil es kein Text von der ausgewählten Sprache und Version gibt.

    This object is list of objects ColumnClassDefUserSet.

    Object properties

    All the functions are associated with the list of objects, over which the function is called.

    Name Description
    ColumnClassDefUserSet GetByCode( string code) Function returns an instance of class column for setting up its properties.
    ColumnClassDefUserSet GetByCode( int parentId, string code) Function returns an instance of class column for setting up its properties.
    ColumnClassDefUserSet GetById(int columnClassDefId) Function returns an instance of class column for setting up its properties.
    ColumnClassDefUserSet this[ string code] Function returns an instance of class column for setting up its properties.
    ColumnClassDefUserSet this[ int index] Function returns an instance of class column for setting up its properties.

     

    Example of hiding a column with code 'description' in the detail form with data (DataDetail.aspx):

    OGColumns.GetByCode('description').Visible = false;

    OGColumns['description'].Visible = false;

    Example of setting up read-only mode for column with code 'color' in the detail form with data (DataDetail.aspx):

    OGColumns.GetByCode('color').ReadOnly = true;

    Example of renaming column with code 'color' in the detail form with data (DataDetail.aspx):

    OGColumns.GetByCode('color').Name = 'New name';

×