[datagrid] how to search and show the result?

Robert Mann rman at free.fr
Mon Aug 23 18:17:52 EDT 2010




zryip theSlug wrote:
> 
> Personally I never considered a datagrid as simple text container. 
> For me a datagrid is a container for rows or for records and when I 
> search in a datagrid, I'm waiting to have an entire record as result. 
> 

I used the datagrids in the "list form" e.i with the "row" behavior, to
implement a scrolling text similar to an outliner, each line being treated
as a paragraph, in order to be able to reorganize the text and to be able to
associate medias and various actions to each paragraph lines. I thought that
was an appealling use of datagrids allowing more fancy things as far as the
appearance is concerned.

Thanks for pointing out the field within group problem with the find
command. Its' not so bad!!

Explaination : I initially started without datagrids and used a group of
fields that would scroll. I just tested the find function within groups.
Things are not so bad : the found chunk is actually found in a field within
a group, even if that field is not visible. By hand, scrolling the group,
you can get to the found chunk in view. A handler can easily do that since
we have the foundChunk information.

So after having invested quite some time on datagrids.. hum I have to
consider to roll back to my own, less complete but with a find command that
can work, which for my use is something important!!

This will teach me to plan for all functions BEFORE going ahead... frankly I
did not anticipate that problem with the find... !!! hope this can help
others.




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



More information about the use-livecode mailing list