
Security News
CISA Extends MITRE Contract as Crisis Accelerates Alternative CVE Coordination Efforts
CISA extended MITRE’s CVE contract by 11 months, avoiding a shutdown but leaving long-term governance and coordination issues unresolved.
vue-ui-grid
Advanced tools
Simple, fast, powerful grid package for vuejs
https://mihnsen.github.io/vue-ui-grid/
npm install vue-ui-grid
or
yarn add vue-ui-grid
import VGrid from 'vue-ui-grid';
// Use it
Grid.vgrid-center(
:columns="gridColumns",
:data="gridData",
:per-page="2",
:column-filter="true",
)
template(
slot="column-action"
slot-scope="{ entry }"
)
button(
type="button",
) ADD
// Or list
List(
:columns="listColumns",
:data="listData",
:per-page="10",
:column-visible="true",
:orderable="true",
ref="list"
)
template(
slot="column-action"
slot-scope="{ entry }"
)
button(
type="button",
) ADD
a(
href="gooogle.com"
) Edit
// CSS
@import '~vue-ui-grid/src/assets/scss/index'
Setup your promise function as a promise like this.
export default {
data() {
return {
gridColumns: [
{
field: 'name',
lable: 'Actor'
},
{
field: 'power',
lable: 'Power'
}
],
gridData: [
{ name: 'Chuck Norris', power: Infinity },
{ name: 'Bruce Lee', power: 9000 },
{ name: 'Jackie Chan', power: 7000 },
{ name: 'Jet Li', power: 8000 }
]
}
}
}
{
field: 'id',
label: 'ID',
filter: true,
hidden: true,
width: 3
}
Option | Required | Default | Description |
---|---|---|---|
field | Yes | Title | |
label | No | Label of column | |
type | No | String | field type (text/number/date) |
filter | No | False | Set column filter or not |
order | No | False | Set column order or not |
hidden | No | False | Set hidden column, can't see |
width | No | False | Set width column, use for list |
format | No | Format content: '{name}' |
Props | Required | Default | Description |
---|---|---|---|
columns | Yes | [] | Column config |
data | Yes | [] | Data source |
per-page | No | 10 | Number of items per page |
searchable | No | True | Search data in header |
filterable | No | True | Filter data in header |
column-visible | No | False | Custom show hide, order column |
column-filterable | No | False | Filter column in side grid |
index | No | 0 | Initial page |
status | No | True | Grid status |
pagination | No | True | Paginate data |
yarn install
yarn run serve
yarn run build
yarn run test
yarn run lint
yarn run test:unit
FAQs
Simple, fast, powerful grid package for vuejs
We found that vue-ui-grid demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
CISA extended MITRE’s CVE contract by 11 months, avoiding a shutdown but leaving long-term governance and coordination issues unresolved.
Product
Socket's Rubygems ecosystem support is moving from beta to GA, featuring enhanced security scanning to detect supply chain threats beyond traditional CVEs in your Ruby dependencies.
Research
The Socket Research Team investigates a malicious npm package that appears to be an Advcash integration but triggers a reverse shell during payment success, targeting servers handling transactions.