YUI widgets, and JSON datasource generated by rails.

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

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?

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.