Merge and split table cells with JavaScript
JavaScript CSS
Latest commit a84cce7 Jan 8, 2014 @dbunic added gitignore
Permalink
Failed to load latest commit information.
example00 Version 1.0.4 May 7, 2012
example01 Version 1.0.4 May 7, 2012
example02 Version 1.0.4 May 7, 2012
.gitignore
changes.txt
header.js
index.html Version 1.1.0 May 17, 2012
readme.md Version 1.1.0 May 17, 2012
redips-table-min.js
redips-table.js Version 1.1.0 May 17, 2012
style.css Version 1.0.1 Apr 13, 2012

readme.md

REDIPS.table 1.1.0

What's REDIPS.table?

REDIPS.table is a JavaScript library which enables dynamically merging and splitting table cells. It is possible to activate onmousedown event listeners on TD element to interactively mark cells with mouse button.

Features

  • merge / split table cells
  • add / remove table row
  • add / remove table column
  • enable / disable marking not empty table cells

Public methods

  • REDIPS.table.onmousedown() - activate onmousedown event listener on table cells
  • REDIPS.table.mark() - select / deselect table cell
  • REDIPS.table.merge() - merge horizontally / vertically marked table cells in a sequence
  • REDIPS.table.split() - split horizontally / vertically marked table cells (only cells with colspan / rowspan greater then 1)
  • REDIPS.table.row() - add / remove table row
  • REDIPS.table.column() - add / remove table column
  • REDIPS.table.cell_index() - display cell index (useful for demo / debugging)
  • REDIPS.table.cell_ignore() - remove onmousedown even listener from table cell in case of active REDIPS.table.onmousedown mode

Documentation

A reference documentation with a list of public properties and methods contained in REDIPS.table library.

Demo

Live demo shows REDIPS.table library in action: