I ended up skipping this as I still needed table-plus's column
ordering. So I made the sliders to update the table when they stopped
using plain jquery's ui.
To anyone else doing this don't forget the jQuery.noConflict(); and
changing all the jquery UI $ to jquery otherwise the hobo search will
stop working.

Also if anyone has an example of hobo's 'part's ( <div
part='my_part'> ) I'm keen to see how it works as I couldn't get it
working.

Cheers,
Stu

On Jan 1, 10:02 pm, Stu <[email protected]> wrote:
> Happy new year everyone :)
>
> Instead of the standard <filter-menu> tags for a table plus, I thought
> I'd try and incorporate jquery UI's sliders to set a range and update
> the index's table (similar to filter menus).
>
> I'm a little stuck on how to convert the following rails code to
> update a table-plus used on a hobo index page.
>
>   def index
>     ...
>     respond_to do |format|
>       format.html
>       format.js do
>         render :update do |page|
>           page.replace_html 'table-plus', :partial => 'stocks/
> stock_list', :locals => { :stocks => @stocks }
>         end
>       end
>     end
>   end
>
> Since I've got a table-plus element (not using partials), how would I
> handle the rendering of a new table-plus consisting of elements
> returned by the ajax request in a hobo-esque way?
>
> I had a look at 'part's but couldn't seem to get any updating.
>
> Cheers,
> Stu

-- 
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