From 6d5c7f123134b40297358fb8af5f04f0b79cce60 Mon Sep 17 00:00:00 2001 From: Yauheni Kokatau Date: Mon, 29 Jun 2015 17:46:52 +0300 Subject: [PATCH] add 'draggable' feathure --- README.md | 1 + example/partials/attributes.html | 17 ++++++++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 18414d5..96de64c 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,7 @@ editable | no | Allows to edit content inside cells. Editing update select | no | select="multiply" allows to select more than one row. Selected rows are accessible. selected-model | no | It exports selected model to controller variable. selected-model="yourModel" resize | no | *default: true*. Use column resizing. +drag-columns | no | *default: false*. It allows to reorder your columns using drag-n-drop. ##Themes Please check new 'Dark-sky' and 'Blue-dust' themes: diff --git a/example/partials/attributes.html b/example/partials/attributes.html index e71a04d..a68e3ef 100644 --- a/example/partials/attributes.html +++ b/example/partials/attributes.html @@ -57,6 +57,10 @@

Optional:

resize="true" Use column resizing. +
  • + drag-columns="true" + It allows to reorder your columns using drag-n-drop. +
  • Default values:

    @@ -69,12 +73,15 @@

    Default values:

  • paging="true"
  • -
  • +
  • sorting="simple"
  • - -
  • - resize="false" -
  • + +
  • + resize="false" +
  • +
  • + drag-columns="false" +
  • \ No newline at end of file