Sorting of readonly price column in grid


We have html table with three columns and one of them is price ($0000),but sorting on price is not working …plz help

code snippet:

To resolve issues you need to update your code in next way

document.write(’<table forceCellTypes=“true” id=“tbltogrid” border=“1” style=“width:800px;height:200px;” gridHeight=“300” >’);

Heading 1<td type=“price”>Heading 2Heading 3 ’);

This two lines clearly mark second column as “price” and force data in cell formatting.