I want to convert the number pattern to Indian number pattern that is if the value is 100,000 it should display as 1,00,000.
I tried changing the pattern which did not work. I wrote my own method which does the conversion. I need to integrate this in jasper source code.
After going through the source code, I tried including my method in JRAbstractExporter.java Here we have a method protected TextValue getTextValue(JRPrintText text, String textStr)
which calls getNumberCellValue() method. I am calling my Format method inside getNumberCellValue method like this
indianCurrencyFormat = this.inidianCurrencyFormat(textStr);
textValue = getTextValueString(text, indianCurrencyFormat);
After all these, still nothing seems to work. Could some one please help