Tabledrag

Categories

Component ID

1694872

Component name

Tabledrag

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This module provides an API to simplify the usage of Drupal's built-in Tabledrag functionality, like that used in the "Manage Fields" administration panel in Drupal.

To use, create your header, body and "new row" elements, and pass them to tabledrag_add_tabledrag();

tabledrag_add_tabledrag(&$formitem, $header = array(), $body = array(), $new = array())

Be sure to include a weight column in your table, and this module will turn your form tree into a draggable, sortable table.