jquery-treegrid icon indicating copy to clipboard operation
jquery-treegrid copied to clipboard

Collapsed rows

Open suweb opened this issue 4 years ago • 1 comments

Hi, can you advise me how to collapsed all rows by default?

suweb avatar May 14 '20 12:05 suweb

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 collapsed

Or 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>

maxcreeger avatar Nov 29 '21 14:11 maxcreeger