Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drag and drop s-table header using DnD class (Novik#2855)
* Drag and drop s-table header using DnD class - Modify `DnD` class initialization method a bit, so that the object can be attached to an HTML element or an `id` identifier. This is a preparation for the following change. - Merge header cell resizing and moving methods into one object, reusing ruTorrent's `DnD` utility class, and thus removes the `dxSTable.ColumnMove` object defined in the s-table module that did the same thing as the `DnD` class. - Rearrange header row drag-and-drop event handling process. Resizing, moving, and sorting actions are distributed according to the position of mouse clicks and displacement of the mouse cursor. - Remove obsolete properties from S-Table class (`dxSTable.cancelMove` and `dxSTable.cancelSort`). * Use ternary operator for DnD init
- Loading branch information