Hello,
I have an UltraWebGrid where I want to always have 2 decimals on some rows (like 72.00), and always 0 decimals on other rows. I can set the format string on column level, but I can't seem to find the same property on row or cell level. Is there a way to do this?
if you are just displaying, could you do it on the DB side?
Do you mean store the values as strings in the DB? I don't think I can do that, there are some calculations made so the values needs to be doubles.
Is there really no other way? It would mean quite a lot of work for me if the values in the grid were strings.
what about on the initializeRow using the IFormatprovider?
if(condition1)
//get value
val.ToString("C1");
else
val.ToString("C2");
lots of psuedo there, just trying to throw out ideas...