I just setup the following table_plus.  There are 152 records displayed in 1 
long table.  I thought pagination was pretty much automatic with table_plus 
but I'm not getting any pagination at all.

In my Floors Controller.  I'm using table plus to display the collection of 
spaces on the floor model

  def show
    @floor = find_instance
    @spacelist = @floor.spaces.where(["name like ?", 
"%#{params[:search]}%"]).order(parse_sort_param(:name, :space_dwgid).join(" 
"))
  end

and in my floor/show.dryml

  <collection: replace>
    <table-plus with="&@spacelist" fields="this, space_dwgid, locations" >
    <empty-message:>No spaces match your criteria</empty-message:>
    </table-plus>
  </collection:>

What am I missing to turn pagination on?

Bob

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/hobousers/-/V1pe2qVd2qAJ.
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