[Datagrid] How to : skip rows appearing, without deleting them in dgData?

Robert Mann rman at free.fr
Sat May 22 21:06:10 EDT 2010


The point is to be able to navigate through a data-tree structure.

Datagrid doc and runrev "how to's" show how to implement a foldable row,
that can show more or less information but from the same row.

To navigate within a data tree structure, there is a need to by-pass the
drawing of some lines (not wanted children rows, or not wanted father rows).

Within the layout script of a row, I tried to set the rect row to "0,0,0,0".
This works fine... the line/row disappears. But then... when you navigate
with the arrow in the datagrid, the selected line disappers, while it
hilites the unvisible row... forcing the user to press again the navigation
arrow at that point. So : no good!

Is there a more radical and more efficient way to skip lines without
deleting them from the dgData ?

-- 
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Datagrid-How-to-skip-rows-appearing-without-deleting-them-in-dgData-tp2227554p2227554.html
Sent from the Revolution - User mailing list archive at Nabble.com.



More information about the use-livecode mailing list