NOTE: DataGridXL requires a commercial license.

Create an account to download a trial version of DataGridXL to follow the steps in this tutorial.

DataGridXL — Docs

DataGridXL with Vue.js

This user manual provides instructions on how to implement DataGridXL into your project using Vue.

Getting Started

1. Creating Vue App

For up-to-date quick start instalation guide you can read more here.

2. Implementing component into your project

To install the DataGridXL Vue Component, you need to run the following command in your project directory:

bash
npm install datagridxl @datagridxl/vue

3. Usage

After installing the package, you can import and use it in your project as follows:

javascript
<script setup>
import DgxlComponent from '@datagridxl/vue';
</script>

Here is a simple example how you can display basic grid:

javascript
<template>
  <div>
    <DgxlComponent
      ref="dgxlRef"
      :style="{height: '50vh', width: '50%'}"
    />
  </div>
</template>

<script>
export default {
  name: 'App',
  components: {
    DgxlComponent
  }
};
</script>

Here ``ref="dgxlRef"`` is used to create a reference to the component instance. This allows you to access properties and methods programmatically. It will be used in next step.

Next Steps

In the next part, you will learn how to pass data to the DataGridXL component.