All Projects → jeffreydwalter → ColReorderWithResize

jeffreydwalter / ColReorderWithResize

Licence: MIT license
Column reordering and resizing plug-in for DataTables

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to ColReorderWithResize

datatables-bulma
DataTables styling for the Bulma CSS framework
Stars: ✭ 80 (+95.12%)
Mutual labels:  datatables, datatables-plugin
react-datatable
React-datatable is a component which provide ability to create multifunctional table using single component like jQuery Datatable. It's fully customizable and easy to integrate in any react component. Bootstrap compatible.
Stars: ✭ 72 (+75.61%)
Mutual labels:  datatables, datatables-plugin
laravel-datatables-fractal
Laravel DataTables Fractal Plugin.
Stars: ✭ 94 (+129.27%)
Mutual labels:  datatables, datatables-plugin
jQuery-datatable-server-side-net-core
A simple Visual Studio solution using jQuery DataTable with Server-Side processing using .NET 5
Stars: ✭ 71 (+73.17%)
Mutual labels:  datatables, datatables-plugin
datatables.mark.js
A DataTables plugin for mark.js to highlight search terms in tables
Stars: ✭ 44 (+7.32%)
Mutual labels:  datatables, datatables-plugin
Datatables
PHP Library to handle server-side processing for Datatables, in a fast and simple way.
Stars: ✭ 185 (+351.22%)
Mutual labels:  datatables
laratables-demo
Demo of the Laratables package
Stars: ✭ 21 (-48.78%)
Mutual labels:  datatables
Company Website Pro
现代公司企业官网以及电子商务产品网站
Stars: ✭ 172 (+319.51%)
Mutual labels:  datatables
Material Ui Datatables
An another React Data tables component.
Stars: ✭ 163 (+297.56%)
Mutual labels:  datatables
DataTables.jl
(DEPRECATED) A rewrite of DataFrames.jl based on Nullable
Stars: ✭ 28 (-31.71%)
Mutual labels:  datatables
laravel-datatables-scout
Laravel DataTables plugin to support Laravel Scout.
Stars: ✭ 12 (-70.73%)
Mutual labels:  datatables
POS---Point-Of-Sales
Point of sales proof of concept developed using Asp.Net Core 2.2. Features: Customer, Vendor, Product, Purchase Order, Goods Receive, Sales Order, Inventory Transactions and POS form.
Stars: ✭ 120 (+192.68%)
Mutual labels:  datatables
Laravel Datatables Html
Laravel DataTables HTML Builder Plugin
Stars: ✭ 188 (+358.54%)
Mutual labels:  datatables
Mvc.jquery.datatables
ASP MVC Helpers for connecting IQueryables with the amazing DataTables.net plugin
Stars: ✭ 179 (+336.59%)
Mutual labels:  datatables
editable-react-table
React table built to resemble a database.
Stars: ✭ 519 (+1165.85%)
Mutual labels:  datatables
Mui Datatables
Datatables for React using Material-UI - https://www.material-ui-datatables.com
Stars: ✭ 2,246 (+5378.05%)
Mutual labels:  datatables
laravel-vue-datatable
Vue.js Datatable made for Laravel
Stars: ✭ 153 (+273.17%)
Mutual labels:  datatables
mongo-datatables
A package for using the jQuery plug-in DataTables server-side processing (and DataTables Editor) with MongoDB.
Stars: ✭ 14 (-65.85%)
Mutual labels:  datatables
powergrid-demo
⚡ PowerGrid fully configured in a Laravel project.
Stars: ✭ 38 (-7.32%)
Mutual labels:  datatables
Simple-UI-Semantic-UI-Admin
Free Semantic UI (Fomantic-UI) Admin Template
Stars: ✭ 50 (+21.95%)
Mutual labels:  datatables

ColReorderResize

I'm looking for people willing to contribute to this project as I no longer use dataTables and so don't have any motivation (or time) to maintain it. If you're insterested, please feel free to create pull-requests and I'll happily support your effort and help to get them merged in. Thanks!


ColReorderResize adds the ability for the end user to click and drag column headers to reorder and resize a table as they see fit, to DataTables. See the documentation for full details.

This repository is based on a no longer supported version of the ColReorderWithResize plugin. I basically updated it to work with the latest version of DataTables and fixed some long-standing issues with the plugin.

There is an example of using this plugin here: https://www.gyrocode.com/articles/jquery-datatables-column-reordering-and-resizing

Plug-in can be initialized multiple ways:

Using dom option and adding character R.

var table = $('#example').DataTable({
    'dom': 'Rlfrtip'
});

Using new $.fn.dataTable.ColReorder().

var table = $('#example').DataTable();
new $.fn.dataTable.ColReorder(table);

This plugin fires the following events:

column-reorder.dt
column-reorder.dt.mouseup
column-resize.dt.mouseup
mousemove.ColReorder
touchmove.ColReorder
mouseup.ColReorder
touchend.ColReorder

Here is an example of capturing a resize event:

// Do something when a resize occurs.
$('#datatable').on('column-resize.dt.mouseup', function(event, oSettings) {
    // Do something here.
});

Here is an example of capturing some reorder event:

$('#datatable').on('column-reorder.dt.mouseup', function(event, oSettings) {
    // Do something here.
});
    
// or 
    
$('.dataTables_wrapper')
    .on('mousedown.ColReorder touchstart.ColReorder', function(event) {
        // User has clicked on a column and is currently holding the mouse button down.
    })
    .on('mouseup.ColReorder touchend.ColReorder', function(event) {
        // Users has released the mouse button.
    });
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].