Coder Social home page Coder Social logo

digitalbutter / craft-simplesheet Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 2.0 3.7 MB

Provides an additional Spreadsheet Field Type for Craft CMS.

Home Page: https://www.butter.com.hk/blog/announcing-simplesheet-plugin-for-craft-cms

License: MIT License

PHP 94.86% HTML 5.14%
craft-plugin craftcms craftcms-plugin

craft-simplesheet's People

Contributors

dgjackson avatar mjcrunt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

isabella232

craft-simplesheet's Issues

Not on packagist

Great work on the plugin! Could you submit the plugin to Packagist so we can install it via composer?

Upgrade install error

Updating simplesheet from the admin panel resulted in this error:

A fatal error has occurred:

Status: error

Response: {"error":"Setting unknown property: dgjackson\simplesheet\fields\SimpleSheetField::someAttribute"}

Remove rows/columns not saving

Step to reproduce

Situation 1:

  • Right click to remove row
  • Works visually
  • Save and continue
  • Showing old data

Situation 2:

  • Right click to remove row 1
  • Right click to remove row 2
  • Works visually
  • Save and continue
  • Row 1 removed, not row 2

Situation 3:

  • Right click to remove row 1
  • Right click to remove row 2
  • Right click to remove row 3
  • Right click to remove row 4
  • Works visually
  • Save and continue
  • Row 1,2,3 removed, not row 4

I think the last changes showhow doenst got rendered

Is a business website allowed to use this plugin?

Considering that you're using a non-commercial instance of Handsontable for this plugin—which clearly disallows any commercial use, will it legal for a business website to be using this plugin (the website will be used to market the business's commercial offerings)?

Setup config of Handsontable

Thanks for the great plugin. What I'm currently missing is the ability to integrate a custom configuration for Handsomtable. Currently, the configuration is stored directly in the script SimpleSheet.js:

this.simplesheet` = new Handsontable(sheetContainer, {
                startCols: 26,
                startRows: 100,
                colHeaders: true,
                contextMenu: true,
                dropdownMenu: true,
                rowHeaders: true,
                filters: true,
                manualColumnMove: true,
                manualRowMove: true,
                manualColumnResize: true,
                manualRowResize: true,
                tableClassName: 'simplesheet',
                width: '100%',
                height: '100%',
                stretchH: 'all',
                columnSorting: {
                    indicator: true,
                },
                licenseKey: 'non-commercial-and-evaluation',
            });

Would it be possible to set this option dynamically per field or globally? That would help for setup small tables with copy&past from excel without removing unused rows/cells and would also give the possibility to use the plugin commercially with a license key.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.