Giter Club home page Giter Club logo

ui-grid-custom-cell-select's Introduction

Custom Cell Selection Plugin for UI Grid

Features

  • Copy cell contents with CTRL+C or CMD+C
  • Paste cell contents with CTRL+V or CMD+V

Install

Install using npm

npm install ui-grid-custom-cell-select

Install using bower

bower install ui-grid-custom-cell-select

Add plugin as dependency to your module

angular.module("app", ["ui.grid", "ui.grid.custom-cell-select"]);

Usage

To add custom cell selection functionality you have to insert ui-grid-custom-cell-select directive to your table.

<div ui-grid="gridOptions" class="grid" ui-grid-custom-cell-select="selectOptions"></div>

Settings

An object may be provided to the ui-grid-custom-cell-select attribute.

  • ignoreRightClick - (Default: false) Will not begin dragging when right mouse is used. Useful for context menus.

Additional styling

When you select grid cells ann additional css class (ui-grid-draggable-row-over) is applied to them. This plugin has default styling for these elements. If you are using less you could import styles into your application.

List of events

Public methods

Handling grouping

Todo

  • Improve documentation/readme
  • Cleanup code to meet UI-Grid module standards
  • Write tests
  • Add more features!

Support

If my plugin helped you, feel free to paypal me whatever you think it was worth!

Author

Plugin ui-grid-custom-cell-select was originally developed by Brenden Peterson.

Paste functionality and macOS compatibility by Jairo Honorio.

License

The MIT License © 2016 - 2017

ui-grid-custom-cell-select's People

Contributors

jahd2602 avatar grillion avatar atmos206 avatar

Watchers

James Cloos avatar

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.