Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MaastrichtUniversity/handsontable
https://github.com/MaastrichtUniversity/handsontable
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/MaastrichtUniversity/handsontable
- Owner: MaastrichtUniversity
- Archived: true
- Created: 2021-07-08T13:39:56.000Z (over 3 years ago)
- Default Branch: develop
- Last Pushed: 2021-07-12T08:19:58.000Z (over 3 years ago)
- Last Synced: 2024-05-02T21:07:27.255Z (7 months ago)
- Language: PHP
- Size: 14.6 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- islandora_awesome - Islandora Handsontable - like interface (grid) within the web browser. This extension integrates handsontable with Islandora XML forms. (The Islandora 7.x-1.x List / Utility Modules)
README
# Handsontable element for Islandora XML Forms (Drupal)
## Introduction
This is an extenstion to [Islandora XML forms](https://github.com/Islandora/islandora_xml_forms)
(part of [Islandora](http://islandora.ca/)) which allows
to run [Handsontable](https://handsontable.com/) as a Drupal form element.Handsontable is a Javascript extension that provides an Excel-like interface (grid) within the web browser.
This extension integrates handsontable with Islandora XML forms. You can define columns which will
end up as XML element in the resulting document.![Example](https://cloud.githubusercontent.com/assets/6281107/14286982/67336346-fb51-11e5-88cc-44a769d178ae.png)
![Example](https://cloud.githubusercontent.com/assets/6281107/14286983/6734385c-fb51-11e5-8628-37f510ff98b3.png)## Requirements
This Drupal module requires the following Drupal modules/libraries:
* [Islandora XML forms](https://github.com/Islandora/islandora_xml_forms)
* [Islandora](https://github.com/islandora/islandora)
* [Tuque](https://github.com/islandora/tuque)
* [phplib](https://github.com/islandora/php_lib)
* [Objective forms](https://github.com/islandora/objective_forms)Additionally, this PHP extension needs to be enabled
* [libxml2](http://xmlsoft.org/) version 2.7+## Installation
* Download the zip file from the [release page](https://github.com/MaastrichtUniversity/handsontable/releases).
* Unpack it in the `sites/all/modules/contrib` directory.
* Enable the module on the Administration -> Module page.Alternatively, you can download directly from the source repository. You need to use
[yarn](https://yarnpkg.com/lang/en/) to get all Javascript dependencies. Like this:```
cd sites/all/modules/contrib
git clone https://github.com/MaastrichtUniversity/handsontable.git
cd handsontable
yarn install
```## Configuration
The basic configuration is shown in this screenshot.
![Configuration](https://cloud.githubusercontent.com/assets/6281107/14286516/9173b720-fb4f-11e5-9429-125b646f7e5d.png)
In short, create a handsontable element and as a child a handsontable_row element. The children of the row element
will be columns of the table. These can be text fields.