View Full Version : 2 for 2 ... labelFunction issue

10-15-2006, 08:10 PM
I haven seen this posted anywhere yet... so here goes.

I need to write a funtion that will remove a bunch of digits from a number ... reducing say 392.432434 to 392.43 .. so far so good, but for some reason teh labelFunction isn't working on my dgc ... hmm very odd, I just want to apply it to certain dgcs not all of them hence using labelFunction ..

any help or pointing to a solid example would be loverly :)

10-16-2006, 01:24 PM
you say it doesnt work, but doesnt work is a general term.
try to set up a breakpoint on the function and run with the debugger on it.
See if its enters the function at all, and if so, then what exactly isnt working...

no simple way to debug those things besides that...

10-16-2006, 05:10 PM
Problem solved, just a matter of calling a custom component using the itemRenderer tag :)