Click or drag to resize
Options Class
The Options class provides a convenient method of specifying where Editor should get the list of options for a `select`, `radio` or `checkbox` field. This is normally from a table that is _left joined_ to the main table being edited, and a list of the values available from the joined table is shown to the end user to let them select from. `Options` instances are used with the `Field.Options()` method.
Inheritance Hierarchy
SystemObject
  DataTablesOptions

Namespace:  DataTables
Assembly:  DataTables (in DataTables.dll) Version: 1.6.5.0 (1.6.5.0)
Syntax
C#
public class Options

The Options type exposes the following members.

Constructors
  NameDescription
Public methodOptions
Initializes a new instance of the Options class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLabel
Get the column name(s) for the options label
Public methodLabel(IEnumerableString)
Set multiple column names for the options label
Public methodLabel(String)
Set the column name for the options label
Public methodLimit
Get the current limit
Public methodLimit(Int32)
Set the limit for the number of options returned. NOTE if you are using SQL Server, make sure you also set an `Order` option.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOrder
Get the order by clause for the options
Public methodOrder(String)
Set the order by clause for the options
Public methodRender
Get the rendering function
Public methodRender(FuncDictionaryString, Object, String)
Set the rendering function for the option labels
Public methodTable
Get the table configured to read the options from
Public methodTable(String)
Set the table to read the options from
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValue
Get the value column name
Public methodValue(String)
Set the value column name
Public methodWhere
Get the WHERE function used to apply conditions to the options select
Public methodWhere(ActionQuery)
Set a function that will be used to apply conditions to the options select
Top
See Also