문제

I have a hierarchical grid. How can I avoid that the first row is expanded when the site is loaded?

regards

도움이 되었습니까?

해결책

Your kendo hierarchical grid expands the first row and since you have not shared your code, lets assume that you are binding the grid with jQuery.

Now to not to allow the grid to expand the first row, all you have to do is remove

this.expandRow(this.tbody.find("tr.k-master-row").first());

from the dataBound event.

Here is a working example. See the commented code in the example.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top