使ADG吃完資料且繪製完後自動展開

答案出乎意料的簡單,特寫此文以表敬意, 請用:

AdvancedDataGrid::displayItemsExpanded = true;

官方文件說明:
If true, expand the navigation tree to show all items. If a new branch is added, it will be shown expanded.
The default value is false.

奧妙往往都在手冊之中呢。

Tags: ,

Leave a Reply