Skip to content

IntegralUI Web - Grid is a native Web Component that displays tabular data sets.

License

Notifications You must be signed in to change notification settings

lidorsystems/integralui-web-grid

Repository files navigation

IntegralUI Web - Grid, v21.4

IntegralUI Web - Grid is a native Web Component that displays tabular data sets. You can use it in Angular, React, Vue or any other JavaScript framework.

Note This component is also part of IntegralUI Web product suite.

IntegralUI Web - Grid 21.4 - Native Web Component

Main Features

  • High Performance, loading and scrolling of thousands of records
  • Dynamic grouping with custom aggregation functions
  • Advanced filtering and Sorting
  • Built-in Editors
  • Fully customizable with column and row templates

A complete feature list is available here: IntegralUI Web - Grid features.

Dependencies

IntegralUI Web - Grid is built on top of LitElement. All necessary files from that library are already included in the /external subfolder of this repository.

DEMO

Online QuickStart App - An online demo of each component included

Installation

Install the repository by running

npm install https://github.com/lidorsystems/integralui-web-grid.git

or directly from NPM

npm i integralui-web-grid

Note A detailed information is available here: How to Use IntegralUI Web Components. Explains how to setup and use components for each framework: Angular, React or Vanilla JavaScript.

In general you need to open your application and add a reference to a component you want to use. For example, if you are using the IntegralUI Grid component:

Angular

import 'integralui-web-grid/components/integralui.grid.js';

React

import IntegralUIGridComponent from 'integralui-web-grid/wrappers/react.integralui.grid.js';

Note Currently ReactJS doesn't have full support for Web Components. Mainly because of the way data is passed to the component via attributes and their own synthetic event system. For this reason, you can use available wrappers located under /wrappers directory, which are ReactJS components that provide all public API from an IntegralUI component.

Vanilla JavaScript

<script type="module" src="integralui-web-grid/components/integralui.grid.js"></script>

Icons

Because of the web component specification that defines URLs to be always relative to the main document, the path that leads to the icons used by the IntegralUI Web components needs to be set. In addition you may also need to copy/paste the /icons folder in your application folder. Depending on the framework of your choosing this may differ.

Angular

Follow these steps:

  1. Copy/Paste the content of the integralui-web-grid/icons folder under /assets/integralui-web-grid/icons subfolder in your React application.
  2. Set the resourcePath property of IntegralUI Web components to point to the location set in your /assets folder. In this case, for Grid for example:
<iui-grid [resourcePath]="'assets/integralui-web-grid/icons'"></iui-grid>

React

Follow these steps:

  1. Copy/Paste the content of the integralui-web-grid/icons folder under /public/integralui-web-grid/icons subfolder in your React application.
  2. Set the resourcePath property of IntegralUI Web components to point to the location set in your /public folder. In this case, for Grid for example:
<IntegralUIGridComponent resourcePath={'integralui-web-grid/icons'}></IntegralUIGridComponent>

Vanilla JavaScript

Set the resourcePath property of IntegralUI Web components to point to /integralui-web-grid/icons folder. In this case, for Grid for example:

<iui-grid resource-path="../../integralui-web-grid/icons"></iui-grid>

QuickStart App

There is a demo application with source code that contains samples for each component included in the IntegralUI Web library. It can help you to get started quickly with learning about the components and write tests immediatelly.

From IntegralUI Web - QuickStart you can download a demo app for Angular, AngularJS, React and Vanilla JavaScript. A detailed information about each of these quick-start demos is available in ReadMe file, located in the root folder of the demo app.

License Information

You may use this version for the limited purposes of demonstrations, trials or design-time evaluations.

This project has been released under the IntegralUI Web - Grid License, and may not be used except in compliance with the License. A copy of the License should have been installed in the product's root installation directory or it can be found here: License Agreement.

This SOFTWARE is provided "AS IS", WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.