Set a model to use.
In keeping with the MVC style of coding, you can define the fields
and their types that you wish to get from the database in a simple
class. Editor will automatically add fields from the model.
Note that fields that are defined in the model can also be defined
as
instances should you wish to add additional
options to a specific field such as formatters or validation.
Namespace:
DataTables
Assembly:
DataTables (in DataTables.dll) Version: 1.6.5.0 (1.6.5.0)
Syntax Type Parameters
- T
- Model to use
Return Value
Type:
EditorSelf for chaining
See Also