FieldOptions Method (FuncListDictionaryString, Object) |
Set a function that will retrieve a list of values that can be used
for the options list in radio, select and checkbox inputs from the
database for this field.
Namespace: DataTablesAssembly: DataTables (in DataTables.dll) Version: 1.4.2.0 (1.4.2.0)
Syntax public Field Options(
Func<List<Dictionary<string, Object>>> fn
)
Public Function Options (
fn As Func(Of List(Of Dictionary(Of String, Object)))
) As Field
public:
Field^ Options(
Func<List<Dictionary<String^, Object^>^>^>^ fn
)
member Options :
fn : Func<List<Dictionary<string, Object>>> -> Field
Parameters
- fn
- Type: SystemFuncListDictionaryString, Object
Delegate that will return a list of options
Return Value
Type:
FieldSelf for chaining
See Also