Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@ui-grid/core
Advanced tools
UI-Grid (formerly ng-grid), is a 100% angularJS grid written with no dependencies other than AngularJS. It is designed around a core grid module and plugins are layered on as angular modules and directives. This keeps the core small and focused while executing very complex features only when you need them.
In the core module, you get:
You can install @ui-grid/core
via:
npm i --save @ui-grid/core
Once you install you need to load the respective JS and CSS files as seen bellow:
<link rel="stylesheet" href="/node_modules/@ui-grid/core/css/ui-grid.min.css" type="text/css">
<script src="/node_modules/@ui-grid/core/js/ui-grid.core.min.js">
Alternatively, if you are using Webpack or RequireJS to load your dependencies, you can do the following at the top of the file that needs it:
require('@ui-grid/core');
Once you load the file, you need to include 'ui.grid' module in your angularJS app's dependencies, and add the ui-grid directive to your page.
angular.module('myApp', [
'ui.grid'
]);
<div ui-grid="$ctrl.gridOptions">
And don't forget to load your data:
this.gridOptions = {
data: [
{name: 'Hobie Brown', company: 'Parker Industries', position: 'Head of Security'},
{name: 'Jacob Fury', company: 'Stark Industries', position: 'Research Scientist'},
{name: 'Max Dillon', company: 'Oscorp', position: 'Elitrical Engineer'}
]
};
You can find an example of this component in action on our website
Documentation for the grid is provided in the api documentation, but we recommend that you pay special attention to the following:
You can find issues that are specific to the core UI-Grid by looking for the label grid-core in the ui-grid github issues page.
FAQs
A data grid for Angular
We found that @ui-grid/core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.