SMART datagrid v.1 > Classes > DLBase

Back  Forward

DataLudi.DLBase.getProperties  method

It returns JSON object which contains the value of properties which have been specified in parameter props array. 

In each property name, you can specify the path which is separated by "." as the example below. If parameter proxy is true, when the returned property value is the object based on DLBase, it will return as JSON object in which contains property values instead of actual object. 

function getProperties (props: [String], proxy: Boolean): Object;
Returns
Object
Parameters
props - [String]. required.
proxy - Boolean. Defaults to false.
Code -1
    var header = grid.header.getProperties(['visible', 'height']);
    var visibles = grid.getProperteis(['header.visible', 'footer.visible']);
See Also
getProperty
setProperty
setProperties
assign
SMART datagrid Class System
Examples
Hello Grid
Hello Tree