diff --git a/docs/example-widget-editable.html b/docs/example-widget-editable.html index e2294280..ba6f9b55 100644 --- a/docs/example-widget-editable.html +++ b/docs/example-widget-editable.html @@ -35,7 +35,7 @@ td.no-edit, span.no-edit { widgets: ['editable'], widgetOptions: { - editable_columns : [0,1,2], // point to the columns to make editable (zero-based index) + editable_columns : [0,1,2], // or "0-2" (v2.14.2); point to the columns to make editable (zero-based index) editable_enterToAccept : true, // press enter to accept content, or click outside if false editable_autoResort : false, // auto resort after the content has changed. editable_noEdit : 'no-edit', // class name of cell that is not editable @@ -78,7 +78,12 @@ td.no-edit, span.no-edit {
editable_column
([]
) - Contains an array of columns numbers you want to have editable content (zero-based index). contenteditable="true"
is added to cells within these columns.editable_column
([]
)
+ "0-2"
instead of [0,1,2]
.contenteditable="true"
is added to cells within these columns.editable_enterToAccept
(true
) - Makes the user press enter to accept the content within the editable table cell; if false
, clicking outside the cell will accept the content.editable_autoResort
(false
) - If true
the column will resort (only if already sorted) after the content has been changed.editable_noEdit
('no-edit'
) - Class name on table cells to search for that are not to become editable. The search is only done within the columns set by the editable_column
option.