How can I set the default value of a sizefield component as a property?
This component actually has two values "heightParameter" and "widthParameter", but here specifies "defaultValue" as a single String and "value" as Mixed.
Solved! Go to Solution.
Views
Replies
Total Likes
hmmm... Can you try workaround having processRecord & defining fuction to set it manually.
processRecord="function(record, path) {this.setHeight(23);this.setWidth(23);}"
Views
Replies
Total Likes
.setHeight(23)
.setWidth(23)
OR
.setSize(23,23)
Views
Replies
Total Likes
Hi Sham,
thanks for your reply, but I need to set it in the node properties. In other widgets I've done it succesfully, but usually it involves a string or a number. In this case is a pair of values (width and height).
Views
Replies
Total Likes
hmmm... Can you try workaround having processRecord & defining fuction to set it manually.
processRecord="function(record, path) {this.setHeight(23);this.setWidth(23);}"
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies