I investigated the issue I reported here: http://forums.smartclient.com/showthread.php?t=4331
using DevConsole in the non-hosted browser mode. Sorry that I started this new thread but I believe it’s a new issue, although they’re related.
When run in the browser, the tree element’s alignment is all weird (right aligned) and the tree doesn’t respond to my clicks. I checked the DevConsole, and it has the following:
17:21:34.304:XRP1:WARN:RestDataSource:documentDS:documentDS.cWGuid: value: "da5133c7-7f8a-4c33-ba9b-475484432ac6" failed on validator: {type: "isFloat",
typeCastValidator: true,
_generated: true,
defaultErrorMessage: "Must be a valid decimal."}
[... THE SIMILAR MESSAGE REPEATS FOR EVERY FIELD IN MY DS ...]
17:21:36.757:KPR5:WARN:Log:TypeError: this._logWindow is null
Basically, it reports that all the fields in my data source failed the isFloat validator but they’re not declared as DataSourceFloatField.
I suspect this might be the root cause of my problem. But why does SC runs isFloat validator on all my datasource fields? Any ideas?
Thanks,