Table with option menu

Trevor DeVore lists at mangomultimedia.com
Wed Apr 22 17:37:24 EDT 2009


On Apr 22, 2009, at 4:30 PM, Yves COPPE wrote:

> I have a table dataGrid and a column is made of option menu Btn
>
> I have fld which stores the items of the menu for the option menu
>
> How can I refresh all the btn of the column if I change or add an  
> item in my list of items

Hi Yves,

You will need to do two things:

1) update the text of the option menu in the column template.
2) Send ResetList to the data grid. ResetList redraws the data grid  
after copying in fresh copies of any templates.

I posted a lesson some example code here:

<http://revolution.screenstepslive.com/spaces/revolution_tools/manuals/datagrid/lessons/4000-How-Do-I-Refresh-a-Data-Grid-After-Making-Changes-to-a-Template-Through-Script- 
 >

Regards,

-- 
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com    -    www.screensteps.com



More information about the Use-livecode mailing list