New answers tagged

0

Listing the custom labels in a unit test would do the trick. @isTest static void listLabels() { String AccountSettings = Label.AccountSettings; String ActivityAbandoned = Label.ActivityAbandoned; String All = Label.All ; String AllowanceAmount = Label.AllowanceAmount; String Amount = Label.Amount; String ...


0

I was able to solve this as follows: In the Apex Controller, I have an inner class which wraps all the fields/data for the lightning:datatable. In this inner class, I added a new attribute which will store the ElapsedTime when the constructor is called. At this point, both attributes have the same value. @AuraEnabled public Decimal ElapsedTime {get; set;} //...


0

You can sort the original data when it comes in decimal form and then sort them and after that convert them to minutes, hours and days.


Top 50 recent answers are included