Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

d-draggable-table

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

d-draggable-table

Derby draggable table component based on derby sink.

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

d-draggable-table

Derby draggable table component. Based on derby sink.

Features

  • Rows sorting using drag&drop
  • Sorting rows by any column

Usage

Install
npm install d-draggable-table

App index

app.component require('d-draggable-table/components/sortable-table')
app.component require('d-draggable-table')

Styles

@import 'node_modules/d-draggable-table/styles/index'

Data format

defaultData = [ 
  { cells: [1, 'a', '2', 'helo',   '1'] },
  { cells: [3, 'b', '1', 'world',  '3'] },
  { cells: [2, 'd', '3', 'test',   'a'] },
  { cells: [4, 'c', '4', 'string', 'c'] } 
]

WIthin template

view(name='d-draggable-table')

You can pass table and headers data parameters to the component as follows:

view(name='d-draggable-table', table='{{_page.data}}', headers='{{_page.headers}}')

Alt text

Keywords

FAQs

Package last updated on 13 Jan 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc