ColumnsScriptAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Indicates that this type should generate a columns script, which contains information about properties in this type and is an array of PropertyItem objects. Column scripts can be accessed from client side using Q.getColumns("Key")

[AttributeUsage(AttributeTargets.Class)]
public sealed class ColumnsScriptAttribute : Attribute

Public Members

name description
ColumnsScriptAttribute() Initializes a new instance of the FormScriptAttribute class. The key of the form script will be the full name of the type this is placed on.
ColumnsScriptAttribute(…) Initializes a new instance of the ColumnsScriptAttribute class.
Key { get; } Gets the key.
LocalTextPrefix { get; } If set, modifies the local text prefix that should be used instead of the automatically calculated one from Key and Namespace

See Also