Mar 24, 2010, 6:44 PM
[CLOSED] [1.0] Column Renderer Format/Handler
Hey, guys.
Been awhile since I asked a question. But, here we go.
I'm building a ColumnModel in code behind and everything is working great. However, I have a column that needs a business rule to determine a price range and how it should be "viewed."
My question is how can I use the Renderer.Handler and the Format = RendererFormat.UsMoney, to work together?
Right now I'm doing this (example):
But this isn't formatting the 1999 into UsMoney.
I'm sure this is pretty easy to resolve!
Thanks in advance.
Been awhile since I asked a question. But, here we go.
I'm building a ColumnModel in code behind and everything is working great. However, I have a column that needs a business rule to determine a price range and how it should be "viewed."
My question is how can I use the Renderer.Handler and the Format = RendererFormat.UsMoney, to work together?
Right now I'm doing this (example):
currentPrice.Renderer.Format = RendererFormat.UsMoney;
currentPrice.Renderer.Handler = "return '1999';";
But this isn't formatting the 1999 into UsMoney.
I'm sure this is pretty easy to resolve!
Thanks in advance.