Git Product home page Git Product logo

fin-hypergrid's Introduction

fin-hypergrid is an ultra-fast HTML5 grid presentation layer, achieving its speed by rendering (in a canvas tag) only the currently visible portion of your (virtual) grid, thus avoiding the latency and life-cycle issues of building, walking, and maintaining a complex DOM structure.

Release 1.0.6 (23 June 2016)

This version replaces last year's prototype version, which was built around Polymer. It is now completely "de-polymerized" and is being made available as:

For a list of changes since the previous version, 1.0.3 (27 May 2016), click here.

Demos

Developer Tutorial

This tutorial is a tool that shows developers how to use Hypergrid and implement its features.

Hyperblotter

Hyperblotter is a demo app that shows the capabilities of both OpenFin and Hypergrid.

Check out the Table view on Hyperblotter on a Windows machine via this installer.

Features

  • Any number of rows and columns
  • Grid, column, row, and cell styling
  • User-resizeable columns, column-dragging, column picking
  • Plug-in-able cell formatters and editors
  • Smooth scrolling on both axes
  • Supports local (client-side) as well as remote (server-side) data hosting
  • Events for all UI manipulations including mouse, keyboard, and programmatic UI changes
  • Tree-view (drill-downs) presentation for pre-aggregated local data
Future development
  • Tree-view presentation for remotely aggregated data
The Filtering & Analytics (sorting & aggregation) modules provided will be broken out of Hypergrid
  • We are currently working on expanding the API to enable application developers to easily provide their own functionality
  • Hypergrid will have no opinion on how the underlying data should be pivoted, but will remain capable of presenting pivoted data
  • The current filtering and analytics modules will become separate npm modules/JavaScript files that can be forked and further developed

Integrating

This a basic example that embeds fin-hypergrid:

<!doctype html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
</head>
<body>

    <div id="fin-grid"></div>

    <script src="https://openfin.github.io/fin-hypergrid/build/fin-hypergrid.js"></script>
    <script>
        var grid = new fin.Hypergrid('#fin-grid', {
            data: [
                {'symbol':'APPL', 'name':'Apple Inc.', 'prevclose':'93.13' },
                { 'symbol':'MSFT', 'name':'Microsoft Corporation', 'prevclose':'51.91' },
                { 'symbol':'TSLA', 'name':'Tesla Motors Inc.', 'prevclose':'196.40' },
                { 'symbol':'IBM', 'name':'International Business Machines Corp', 'prevclose':'155.35' }
            ],
            schema: [ 'symbol', 'name','prevclose']
        });
        
        grid.addProperties({
            showRowNumbers:false, 
            noDataMessage: "", 
            columnAutosizing: false,
            showFilterRow:false
        });
    </script>
</body>
</html>

Will look like:

Documentation

Essential documentation and examples will be added to this page in the near future.

We are also maintaining online API documentation for all public objects and modules. This documentation is necessarily a on-going work-in-progress.

(Cell editor information can be found here.)

(Cell Rendering information can be found here.)

Hypergrid global configurations can be found here Use it for modifying various hypergrid features and property defaults

fin-hypergrid's People

Contributors

ahmednuaman avatar dwaynekj avatar katierose4 avatar mattbarrett avatar mazydar avatar mjosling avatar stevewirts avatar wenjunche avatar

Watchers

 avatar  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.