Sunday, December 9, 2012

[Rails] Conditional background color of rows

Hi,

I am using dataTables to render my content onto a view. I need to change the background color of a row depending upon ratio of values of two columns. How shall I proceed. I went through following page on dataTables website but it didn't work for me.

   http://www.datatables.net/examples/advanced_init/row_callback.html

Regards,
Sumit

--
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.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/SphOItz_338J.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate