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

Custom command selection

Thread ID:

Created:

Updated:

Platform:

Replies:

150485 Jan 8,2020 06:37 PM UTC Jan 9,2020 12:34 PM UTC Vue 1
loading
Tags: TreeGrid
jose luis barajas
Asked On January 8, 2020 06:37 PM UTC

Hi

In sample codes exists one section for Custom Command
as:

methods: {
    onClick: function(args) {
    let rowIndex: number = (closest(args.target as Element, '.e-row')).rowIndex;
    let data: Object = this.$refs.treegrid.ej2Instances.getCurrentViewRecords();
    alert(JSON.stringify(data[rowIndex]));
    }

How I get the same functionallity without using typescript?

Padmavathy Kamalanathan [Syncfusion]
Replied On January 9, 2020 12:34 PM UTC

Hi Jose,

Thanks for contacting Syncfusion Forums.

QUERY: How i get same functionality without using typescript?

Vue by default have type declaration and so we are using typescript with Vue. We are unable to understand your query clearly. Please explain us in detail about your query and let us know about your requirement so that we could proceed further in achieving your requirement.

If you have further queries, please get back to us.

Regards,
Padmavathy Kamalanathan


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