Re: Setting row colors dynamically with cfgrid AJAX
Exactly, but maybe I'm missing something. I'm guessing that it's putting the style tags in straight into the actual grid itself when it inits. In Safari, they are being ignored (style elements only allowed in head?) and in Firefox they seem to write out the first time correctly, but they don't update as the table refreshes. Believe it or not, in this instance, IE is the only one that behaves as expected! Maybe I'm doing something wrong, I'm not sure. What I ended up doing was wrapping a span style= around the text part of a cell and setting the color of the actual text. Any word if CF9 is going to implement Ext JS 2? I had trouble finding any good documentation for 1.1 using the Override methods. Thanks, Ray! Is this what you mean? http://www.coldfusionjedi.com/index.cfm/2007/8/20/Custom-grid-renderers-with-CFGRID On Thu, Feb 12, 2009 at 4:14 PM, Robbie Byrd rb...@mdimediagroup.com wrote: ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319383 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Setting row colors dynamically with cfgrid AJAX
Not directly related to the cfgrid question, but if you think you're having trouble with style blocks needing to be in the head for any reason (browser or otherwise), try this: cfsavecontent variable=css style ... all your class defs ... /style /cfsavecontent cfhtmlhead text=#css# / That will render the Style block in the Head, regardless of where the code gets called / included. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319386 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Setting row colors dynamically with cfgrid AJAX
Is this what you mean? http://www.coldfusionjedi.com/index.cfm/2007/8/20/Custom-grid-renderers-with-CFGRID On Thu, Feb 12, 2009 at 4:14 PM, Robbie Byrd rb...@mdimediagroup.com wrote: Hi there, I'm pulling my hair out trying to figure out how to set a row color based on a CFC returning either a specific CSS class. I'm not a big javascript guy, and I've found on the Ext forums how to set row colors using an override, but I'm not exactly sure where to place the code. Anyone else have any experience with this? Thanks! -Robbie ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319271 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Setting row colors dynamically with cfgrid AJAX
Hi there, I'm pulling my hair out trying to figure out how to set a row color based on a CFC returning either a specific CSS class. I'm not a big javascript guy, and I've found on the Ext forums how to set row colors using an override, but I'm not exactly sure where to place the code. Anyone else have any experience with this? Thanks! -Robbie ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319255 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4