こんにちは、株式会社Pentagonでコーダーをしているあきです。 今回はjQuery UIのSortableを利用してテーブルの行をドラッグ&ドロップで入れ替える方法を紹介します。 まず、jQuery、jQuery UIのライブラリを読み込む必要があります。 下記は必要なファイルです。
The jQuery UI table widget enables a host of features for plain tables in HTML documents. At a minimum, the widget provides the ever elusive, yet simple, y axis scrolling for tbody, allowing ...
The Dynamic Table is a table that displays data in a similar way to a spreadsheet but allows the data to be loaded from your backend and control over what can be edited and how it is being saved. It ...