Hi,

I am trying to update a page I have which displays a table of data,
but which I would like to dynamically update depending on what is
selected in the <select-input> field.

I have a controller with a method containing the table plus info - but
in my view, I would like to dynamically change the content of the
table plus, I would imagine I could change something here.......


<table-plus with="&@myOption" fields="field1, field2etc" >

where myOption is the result of the select-input field,

<select-input options"&[['Latest', '@latestFinished'], ['All',
'@allFinished'] ]", onchange="update @myOption" />

@latestFinished, and @allFinished are defined in my Controller using
my own named_scopes to gather the relevant data. I realise my select
input is probably completely wrong, but is there something along these
lines that will work?

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to