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. Image for the cookie policy date
close icon

TreeGrid | Collapse buttons not showind and collapse not working


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,

2 Replies

MR Martin R March 3, 2016 12:18 PM UTC

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


SC Saranya CJ Syncfusion Team March 4, 2016 05:36 AM UTC

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

Live Chat Icon For mobile
Up arrow icon