Apr 27, 2016, 8:09 PM
Renderer Scope property
In Ext.Net 2.5 there used to be a Scope property which allowed one to specify a scope for the renderer JavaScript function.
This is from the Ext.Net\Utility\Renderer.cs 2.5.2 source code:
Also, as a side note, the Margins property has been renamed to MarginSpec, however, I haven't found this in the breaking changes list for 3 or 4.
Thank you
This is from the Ext.Net\Utility\Renderer.cs 2.5.2 source code:
/// <summary>
/// The JavaScript logic to be called when this Renderer fires. The Handler will be automatically wrapped in a proper function{} template and passed the correct arguments for this event.
/// </summary>
[ConfigOption(JsonMode.Raw)]
[DefaultValue("")]
[NotifyParentProperty(true)]
[Description("The JavaScript logic to be called when this Renderer fires. The Handler will be automatically wrapped in a proper function{} template and passed the correct arguments for this event.")]
public virtual string Scope
{
get
{
return this.State.Get<string>("Scope", "");
}
set
{
this.State.Set("Scope", value);
}
}
In Ext.Net 4 there is no Scope property. What can I use instead to set the JavaScript scope. I have a case where I have a column renderer which needs access to some extra information.Also, as a side note, the Margins property has been renamed to MarginSpec, however, I haven't found this in the breaking changes list for 3 or 4.
Thank you
Last edited by bogc; Apr 27, 2016 at 8:19 PM.