Click or drag to resize
EditorIdPrefix Method (String)
Set the DOM prefix. Typically primary keys are numeric and this is not a valid ID value in an HTML document - is also increases the likelihood of an ID clash if multiple tables are used on a single page. As such, a prefix is assigned to the primary key value for each row, and this is used as the DOM ID, so Editor can track individual rows.

Namespace:  DataTables
Assembly:  DataTables (in DataTables.dll) Version: 1.6.5.0 (1.6.5.0)
Syntax
C#
public Editor IdPrefix(
	string prefix
)

Parameters

prefix
Type: SystemString
Prefix to set

Return Value

Type: Editor
Self for chaining
See Also