Categories | Question details Back To List | ||
Grid Sorting Hi, Is it possible to call the customer sorting functions this way mygrid.sortRows(0,"customIntegerSort","des"); function customIntegerSort(a,b,order){ alert('integer'); a = a.replace(/(<[^>]*>|\$|,)/g,""); b = b.replace(/(<[^>]*>|\$|,)/g,""); return (parseFloat(a) > parseFloat(b)?1:-1)*(order=="asc"?1:-1); } Answer posted by Support on Dec 08, 2008 05:35 This will work for pro version, just be sure that customIntegerSort visible in global scoope. |