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.
Unfortunately, activation email could not send to your email. Please try again.

TreeGrid | Collapse buttons not showind and collapse not working

Thread ID:





123284 Mar 3,2016 06:29 AM Mar 4,2016 12:36 AM ASP.NET MVC 2
Tags: TreeGrid
Martin R
Asked On March 3, 2016 06:29 AM


I am getting data as Json from my webserver including to TreeGrid like so:

                beforeSend: function (request) {
                type: 'GET',
                url: url,
                success: function (data) {
                            dataSource: data.dataList,
                            childMapping: "children",
                            columns: data.columnList,
                            treeColumnIndex: 1

            }).done(function () {});

But my treegrid shows without collapse arrow buttons. The text is bolder on higher level (in tree structure), but after click it is not collapsed at all. I want to ask, if something has to be moreover specified.

Thank you,

Martin R
Replied On March 3, 2016 07:18 AM

Problem solved, I had only one column so it is indexed from zero. I changed treeColumnIndex to 0 and it works.


Saranya CJ [Syncfusion]
Replied On March 4, 2016 12:36 AM

Hi Martin,
We are glad to know that your issue has been resolved. Please let us know if you require any other assistance.


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.

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.