Contact Support
Helper Functions
30 Nov 20171 minute to read
ej.parseJSON
This method is used to parse the string to JSON.
ej.parseTable
This method is used to parse the HTML element into the JSON Array and is used commonly in element binding using DataManager.
ej.getGuid
This method returns the globally unique identifier and it generates unique identifier with the prefix provided as parameter.
ej.merge
The ej.merge is used to merge two arrays and the result is merged in the first array.
ej.support
The ej.support property contains a collection of properties representing different browser features or bugs. The property are as follows.
-
cors – represents the cross browser support.
-
enableLocalizedSort – enables the localized sort operation.
-
stableSort – enables stable sort operation.
-
outerHTML – represents the outerHTML support.
ej.swap
This method is used to swap the position of element in an array. It accepts three arguments such as input array and two swap positions.
ej.serverTimezoneOffset
This property is used to set the time-zone offset from UTC, in hours.