I am facing a problem with sortCompareFunc. I have a datagrid with dynamic columns that I create from a webservice.
I can specify the sortCompareFunc to point to my custom function but it gives me the entire datagrid row as an object: here is the callback signature that is specified in the docs mySortCompareFunction(obj1:Object, obj2:Object):int How do I know which column was selected? I cannot hardcode the column since it is dynamic (I want to make my function generic enough to enable it to sort columns of that particular type). Thanks in advance.. Seth

