Is it possible to sort recordSets on the Open UI List Applet based on calculated field value?
Hi Experts,
Thanks in advance.
We have a list column which is based on calculated field and since this column is not sort able, we are thinking to sort using Open UI PM file.
function SelectionChange()
{
var recordSet = this.Get("GetRecordSet");
var len = recordSet.length;
for (i=0; i < len; i++)
{
for(j=0; j < len-1; j++)
{
if(recordSet[i]["Validation Status"] > recordSet[j+1]["Validation Status"])
{
tempVar = recordSet[j+1];
recordSet[j+1] = recordSet[i];
recordSet[i] = tempVar;
}
}
}
}
This approach is not working. Please help with expert suggestion.
Thanks,
Vinay