PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD20] Save the expand/collapse state of a treeview-table
[WD20] Save the expand/collapse state of a treeview-table
Iniciado por guest, 26,jun. 2015 12:11 - 3 respuestas
Publicado el 26,junio 2015 - 12:11
Hi,

Has anybody an idea how to do that ?
I have this done before with a treeview which has the ..collapsed property and treeexpand/-collapse command.
I don´t find similar for treeviewtables.
Publicado el 26,junio 2015 - 13:12
Hi Michael

just an idea: in a table, each expanded/hidden line of the treeview matches a table LINE... So if you just save the status of the table lines (visible or not), your should get what you want

Best regards
Publicado el 26,junio 2015 - 13:20
Hi Fabrice,

thats probably not the problem. But how can I expand or collaps a row in a query linked table ? If I understand the help correctly I can only expand/collapse the whole hierarchy ?!
Publicado el 26,junio 2015 - 16:57
Hi Michael,

I would think that you can't... In any table directly linked to a file or query, ONLY THE VISIBLE lines exist at any given time...

Therefore, as soon as you want to get fancy, it means loading the table (or looper, or...) by code

Best regards