Hi there, I am working on a module which will generate YUI widgets. For now, I am using the YUI DataTable, which takes YUI Datasource as source to populate an html table. I wonder if someone has tried to populate a YUI Datasource with JSON generated by a rails controller? (So to dynamicly updating a table, with a model represented in JSON format). Thanks, Christophe
on 2008-12-30 16:58
on 2008-12-30 19:14
> I wonder if someone has tried to populate a > YUI Datasource > with JSON generated by a rails controller? (So to dynamicly updating a > table, with a model > represented in JSON format). > > Thanks, Christophe Perhaps YUI4Rails does this? http://github.com/mghaught/yui4rails/tree/master#README
on 2008-12-31 17:01
Hi, it's using JSON inside the library, but I doesn't seem to be able to query a server and get JSON back, which then populates the widgets.