Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Section
Column
width60%
Info

This documentation refers to the v0.4 released version of the Reorderer code. For documentation specific to the trunk, please see Grid Reorderer API.

Simple Grid Reorderer Overview

The Simple Grid Reorderer is a convenience function for applying the Reorder to a grid of items with minimal effort. This page provides technical details of the API. For a simple working example, see Integrating the Reorderer.


Initialization

Code Block
javascript
javascript
var myReorderableGrid = fluid.reorderGrid(containerSelector,
                                          itemSelector,
                                          orderChangedCallback,
                                          options);

Parameters

containerSelector

The containerSelector is a CSS-based string selector identifying the DOM element that contains the elements to be reorderable. This may be a <div> that encapsulates the reorderable elements, for example.

Column
solid
Panel
borderStyle
borderColor#566b30
bgColor#fff
titleBGColor#D3E3C4
borderStylesolid
titleOn This Page
Table of Contents
toc
maxLevel
maxLevel
5
minLevel25
Panel
borderColor#321137
bgColor#fff
titleBGColor#c1b7c3
borderStylesolid
titleSee AlsoborderStylesolid
Panel
borderColor#321137
bgColor#fff
titleBGColor#cccccc
borderStylesolid
titleStill need help?borderStylesolid

Join the fluid-talk mailing list and ask your questions there.

...