We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Local Registration

Thread ID:

Created:

Updated:

Platform:

Replies:

147571 Sep 17,2019 04:11 AM UTC Sep 18,2019 06:58 AM UTC Vue 1
loading
Tags: Data Grid
Carlos Alarcon
Asked On September 17, 2019 04:11 AM UTC

Hi ,
Error: Vue warn]: Unknown custom element: <ejs-grid> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

I'm a newbie in Vue and Im tryig to integrate data grid component in an existing project I had. Unfortunatelly I have a problem apparently related to the component registration way. I'm using (this is the only changed I have done):

<template>
    <div>

        <page-title :heading=heading :subheading=subheading :icon=icon></page-title>

        <ejs-grid>
            <e-columns>
                <e-column field='OrderID' headerText='Order ID' width='120' textAlign='Right'></e-column>
                <e-column field='CustomerName' headerText='Customer Name' width='150'></e-column>
            </e-columns>
        </ejs-grid>

    </div>

</template>

<script>
    import PageTitle from "../../Layout/Components/PageTitle.vue";
    import VuePerfectScrollbar from 'vue-perfect-scrollbar'
    import Utils from "../../Helpers/Utils";
    import { Grid } from '@syncfusion/ej2-grids';
    import {GridPlugin} from "@syncfusion/ej2-vue-grids";

    // import chart1 from './Analytics/chart1';
    // import chart2 from './Analytics/chart2';
    // import chart3 from './Analytics/chart3';

    import {
        library
    } from '@fortawesome/fontawesome-svg-core'
    import {
        faTrashAlt,
        faCheck,
        faCalendarAlt,
        faAngleDown,
        faAngleUp,
        faTh,
    } from '@fortawesome/free-solid-svg-icons'

    import {
        FontAwesomeIcon
    } from '@fortawesome/vue-fontawesome'

    library.add(
        faTrashAlt,
        faCheck,
        faAngleDown,
        faAngleUp,
        faTh,
        faCalendarAlt,
    );

    export default {
        components: {
            PageTitle,
            GridPlugin
        },
        data: () => ({
            heading: 'Mando Central',
            subheading: '',
            icon: 'pe-7s-plugin icon-gradient bg-tempting-azure',
            columDefs: null,
            rowData: null
        }),
        mounted() {

        },
        beforeMount() {
                           
        },
        methods: {},

    }
</script>


Many 



Thavasianand Sankaranarayanan [Syncfusion]
Replied On September 18, 2019 06:58 AM UTC

Hi Carlos, 

Greetings from Syncfusion support. 

We suggest you to follow the below documentation to getting started with Syncfusion EJ 2 Grid component. 


Regards, 
Thavasianand S. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon