Wijmo UI for the Web
setProperty Method
The element with the property value that is to be set.
The name of the property to set
The new value
Sets the value of the property in the element.
Syntax
Javascript (Usage) 
var instance; // Type: wijmo.data.IDataView;

// Parameters
var item; // Type:  Object
var property; // Type:  string
var newValue; // Type:  any

instance.setProperty(item, property, newValue);
Javascript (Specification) 
function setProperty( 
   item : Object,
   property : string,
   newValue : any
) : void;

Parameters

item
The element with the property value that is to be set.
property
The name of the property to set
newValue
The new value
Remarks
If the class implementing IDataView also implements IEditableDataView and the element is being edited, then the property value change is done within the editing transaction.
Browser Compatibility
7
5
5

See Also

Reference

IDataView Interface

 

 


© 2013 All Rights Reserved.

Send comments on this topic.