From 53ec8ae791c5f07ab4bd634aeef944f86e67c26e Mon Sep 17 00:00:00 2001 From: Mottie Date: Mon, 25 Nov 2013 06:20:12 -0600 Subject: [PATCH] editable_columns now accepts a range string. Fixes #435 --- docs/example-widget-editable.html | 9 +++++++-- js/widgets/widget-editable.js | 19 +++++++++++++++---- 2 files changed, 22 insertions(+), 6 deletions(-) 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 {
  • In some browsers, additional CSS is needed to highlight a focused editable table cell. See the CSS block below.
  • Editable widget options include (defaults in parenthesis):