Sorting An Array of Objects

Example to sort array below using name property: Below will be the methods to sort Asc/ Desc: To call the method:

Distinct an array of objects using JavaScript

I have an array of objects where I wanted make a list of array which is unique while at the same time adding different values to sub property into the distinct object. Example below is an array of a mixture of folders and files, together with it are it details include used size, access users …

Continue reading Distinct an array of objects using JavaScript

Build a Lambda Expression Dynamically For Sort Acs/Desc

I have tried writing my own basic dynamic lambda expression for sorting the columns in grid panel. There are columns with different property type, and a few link to other object. In this example Branch column (in computer object as a property) is link to Lookup object. I want to order by display field in …

Continue reading Build a Lambda Expression Dynamically For Sort Acs/Desc