I have a carriage item where I need to sort at top , if any item is added.
This is my code where I apply sort on line
Still it's not getting sorted what can be done.
Do you mean that when inserting records in the enquiries line, you want to add the last line first, meaning in descending order? Or do you want to see the order lines in descending order on your page? If yes, then it appears that you are implementing it in the wrong place. Based on your code, it seems that the records are being added in descending order, such as inserting sales Line No: 2000 first and then Line No: 1000.
Regards,
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,228 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156