Hi,
We are using pivot grid to display currency values. We have a flat data source. We were able to format the values in numeric format (ie. 12,345.50) using the technique described in "How can I format a value in PivotGrid? Currency, for example." forum question.
But we would like to align cell values to right as well, since they are numeric values. Can you describe how we can align cell values to right?
Thank you very much.
Hello Bedri,
Thank you for posting in our forum.
One possible solution would be to use the ui-record class and add the “text-align:right;” setting . This class will be applied for all records in the grid so all values will be aligned to the right.
The class could look like this:
tbody.ui-ig-record> tr> td
{
text-align:right;
}
Let me know if this approach would work in your scenario.
Best Regards,
Maya Kirova
Developer Support Engineer II
Infragistics, Inc.
http://ko.infragistics.com/support
Hello Maya,your solution works but how to modify alignment for a single measure? In this way, all cell values gets right-aligned...
Thank you, regards.Maria