Open suweb opened 4 years ago
Yeah, from the documentation:
Parameter | Type | Default value | Description -- | -- | -- | -- initialState | String | expanded | Initial state of tree'expanded' - all nodes will be expanded'collapsed' - all nodes will be collapsedOr individually per node, apply either "treegrid-expanded" or "treegrid-collapsed" to your element' CSS class: Ex:
<tr class="treegrid-110 treegrid-parent-109 treegrid-expanded">
<td>Stuff</td>
</tr>
Hi, can you advise me how to collapsed all rows by default?