Customize dataview Item

Hello, I’m using your DataView component and I need to add the expand functionality to each item. I have a function to do that, but it expands all item at the same time:

dhxViewContent.on_click[“expand_button”] = function (e) {
var id = this.locate(e);
var data = this.get(id);

            if (data.Expand == 'expand') {
                data.Expand= 'collapse';
                dhxViewContent.customize({ height: 300 });
            } else {
                data.Expand = 'expand';
                dhxViewContent.customize({ height: 150 });



Is there any way to expand only the item that I clicked or the selected item?


we have already provided the solution for this issue in the Members’ Support.