Can you please share a code snip on how to sort the datagrid control. Thank you!
Could you please share more details about the case.
Are you talking about sorting data in List or Library control?
Sorry, the data table control. We just want a default sort. We are adding rows with script and want the last entry on top
You can use splice method to add items to the specific index of Data Table control:
var newItem = [Item: "1", Price: "20"] //add new item to the first line of the control fd.control('Items').value.splice(0,0,newItem)
That did the trick, thanks!