SMART datagrid v.1 > Classes > DLBase

Back  Forward

DataLudi.DLBase.setProperty  method

It newly sets the property value by property name. 

This method returns this. And, in the property name, you can specify property path which is separated by "." as below. 

function setProperty (prop: String, value: *, raiseError: Boolean): this;
Returns
this
Parameters
prop - String. required.
value - *. required.
raiseError - Boolean. Defaults to false.
Code -1
    grid.setProperty('header.height', 50).setFocus();
See Also
setProperties
getProperty
getProperties
assign
SMART datagrid Class System
Examples
Hello Grid
Hello Tree