Hi,
I am using a GridDataBoundGrid to display a few Dollar Values.. I am writing some code in the model_QueryCellInfo handler to format the cell before displaying.. Ex: if the value is -10.5, it shows as (10.5) and the color is red. Suppose it is an amount it adds a $ and if its a Float, it rounds off the value to 5 decimals.. Please view attached .txt file for sample code..
Open before.bmp. Thats the right format.. when I click one of the cells and sort the grid by double clicking the header, the cell format is lost.. check after.bmp for the output after sorting.
Is there anyway to fix this? I am using 4.2.0.60..
Thanks
Navaneeth
17.zip