[Rails] Re: best ui toolkit?
Msan Msan wrote in post #974414:
> On 10 January 2011 18:40, Peter De Berdt <peter.de.berdt@pandora.be>
> wrote:
>
>>
>> It should be clear by now that gems/plugins for javascript generation are to
>> be avoided. Not only will it generate ugly inline code in most cases, but
>> you also lose a lot of control. If you want to use Javascript, then write
>> Javascript, don't let some ruby gem write the code for you.
>
> I'm trying using the pure jquery jqgrid.
> I've write the javascript code to display a datagrid, I get the code
> from jqgrid demos http://trirand.com/blog/jqgrid/jqgrid.html#.
> Now I have great problem to take data from a rails model.
> I don't know how and there isn't examples.
Have Rails put the data in the DOM. Have the JS read it. Done.
Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen@marnen.org
Sent from my iPhone
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home