EditorPkey Method (String) |
Set the primary key field to use. Please note that at this time
Editor does not support composite primary keys in a table, only a
single field primary key is supported.
The primary key must be known to Editor so it will know which rows are being
edited / deleted upon those actions. The default value is 'id'.
Namespace:
DataTables
Assembly:
DataTables (in DataTables.dll) Version: 1.6.5.0 (1.6.5.0)
Syntax public Editor Pkey(
string id
)
Parameters
- id
- Type: SystemString
Primary key column name
Return Value
Type:
EditorSelf for chaining
See Also