[datagrid] how to search and show the result?

Robert Mann rman at free.fr
Tue Aug 24 06:33:52 EDT 2010


Good news folks, there is a workaround !

Enabling the "cache controls" of the datagrid, forces all fields to be build
in the datagrid group. Hence, the find command does finds its way to the
foundCHunk.

So  we can eventually identify the foundChunk as being part of a datagrid
and trigger a scroll of the datagrid..!!


Now  I just can't get to set the datagrid to focus on the actual
foundchunk... 
-- the standard method implemented for fields in a group does not work in
the case of datagrids.
I cannot fond how to calculate the formattedTop of a datagrid group. The
dgFormattedHeight does not seem to be quite the same; it stays fixed, where
the formattedTop changes.

Solution will be shared on revOnline, thanks for all.

http://runtime-revolution.278305.n4.nabble.com/file/n2336430/testing_datagrid_search.rev
testing_datagrid_search.rev 
-- 
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Re-datagrid-how-to-search-and-show-the-result-tp1311658p2336430.html
Sent from the Revolution - User mailing list archive at Nabble.com.



More information about the use-livecode mailing list