ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Grid - Column money format
Title:
B
I
{code}
?
I have a total amount column like this. new Column { Name = "Total", Width = 80, ClientFormat = "<td style='text-align: right;'> .Total</td> ", Header = "Total") } is it possible to format also the value like ###,##0.00 ?
Save Changes
Cancel
mtugnoli
asked at 12 Feb 2014
you can pass the total as a string that is already formatted, or use ClientFormatFunc and format it at client side, have a look here: http://demo.aspnetawesome.com/GridDemo/CustomFormat
at 12 Feb 2014
Omu
Answers
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK