Filtering Columns in Tables

Ian Wood revlist at azurevision.co.uk
Fri Apr 6 08:14:45 EDT 2007


On 5 Apr 2007, at 23:39, Jim Schaubeck wrote:

> Hello all,
> I'm trying to code a way so a user can click on the title of a  
> particular column in a table field to select filters for that  
> column.  Much like you can use a spreadsheet and add filter boxes  
> in the header cells to select the specific contents for that  
> column.  After selecting the particular contents, the spreadsheet  
> will now only show the lines that have that same data in the  
> filtered column.  I want to duplicate that look in a rev app  The  
> tough part for me is I have 30 columns & need horizontal  
> scrolling.  This eliminates stationary buttons that would do this  
> easily.  The buttons in the spreadsheet move horizontally while  
> scrolling.  Do you folks have any ideas how to do this?
>
> Jim...

Group the buttons and the table, set the lockloc of the group to true  
and it's width to suit the size you want it to show and set the  
hscroll of the group to true. The buttons and table should then move  
sideways together.

Ian



More information about the use-livecode mailing list