Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Raghu on Oct 31, 2008 10:10
open dhtmlx forum
Grid

Hi,
Even after using this code
Please try to use
function sort_custom(a,b,order){ //alert(mygrid.cells(id,0).getValue()); //the name of the function must be > than 5 chars
  a = a.replace(/<[^>]*>/g,"");
  b = b.replace(/<[^>]*>/g,"");
  return (parseInt(a)> parseInt(b)?1:-1)*(order=="asc"?1:-1)   
}

i am getting incorrect order sequence
Answer posted by Support on Oct 31, 2008 10:50
Please, provide the sample where this issue can be recreated at support@dhtmlx.com