1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    1
    Vote Rating
    0
    rmarmer1 is on a distinguished road

      0  

    Default Rails/YUI-Grid Question

    Rails/YUI-Grid Question


    Hello. I'm looking at using the YUI grid component in a rails app.

    Typically I'd use an html table object, do a db call along the lines of

    @aCollection = AModel.find(:all)

    & use a partial to loop thru the collection & populate the rows...

    How would you populate the YUI grid in rails?

    Would the RJS template system &/or the rails "to_xml" method be part of a reasonable approach here & if so, what would that look like?


    Thanks!

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,915
    Vote Rating
    630
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Nevermind
    Last edited by evant; 25 Aug 2007 at 6:32 AM. Reason: Realised post was very old.

Similar Threads

  1. Grid Question
    By Bobafart in forum Ext 1.x: Help & Discussion
    Replies: 9
    Last Post: 20 May 2007, 1:31 PM
  2. Simple Grid Question
    By Recode in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 22 Mar 2007, 4:20 PM
  3. Paging Grid question
    By spatel in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 22 Mar 2007, 7:32 AM
  4. Rails devs using Ext - what to do?
    By j_l in forum Community Discussion
    Replies: 4
    Last Post: 1 Mar 2007, 6:43 AM
  5. HouseMath 2.0 - A YUI-EXT/Ruby/Rails site - Real Estate Math
    By sheynkman in forum Community Discussion
    Replies: 6
    Last Post: 9 Dec 2006, 12:35 PM

Thread Participants: 1