Ext.NET  5.3.0
.NET Component Framework for Enterprise Level Apps
Ext.Net.JsonWriter.Config Class Reference

More...

Inheritance diagram for Ext.Net.JsonWriter.Config:
Ext.Net.AbstractWriter.Config Ext.Net.BaseItem.Config Ext.Net.IApply

Static Public Member Functions

static implicit operator JsonWriter.Builder (JsonWriter.Config config)
 
- Static Public Member Functions inherited from Ext.Net.BaseItem.Config
static Config Deserialize (string config)
 
static TConfig Deserialize< TConfig > (string config)
 

Properties

virtual string RootProperty [get, set]
 The HTTP parameter name by which JSON encoded records will be passed to the server if the encode option is true. More...
 
virtual bool Encode [get, set]
 Configure true to send record data (all record fields if writeAllFields is true) as a JSON encoded HTTP parameter named by the root configuration. More...
 
virtual bool AllowSingle [get, set]
 False to ensure that records are always wrapped in an array, even if there is only one record being sent. When there is more than one record, they will always be encoded into an array. More...
 
virtual bool ExpandData [get, set]
 
- Properties inherited from Ext.Net.AbstractWriter.Config
DataOptions AllDataOptions [get]
 This object contains the options passed to Ext.data.Model.getData when writing Ext.data.Model.phantom records or when writeAllFields is set to true. More...
 
virtual string NameProperty [get, set]
 This property is used to read the key for each value that will be sent to the server. More...
 
virtual bool WriteAllFields [get, set]
 True to write all fields from the record to the server. If set to false it will only send the fields that were modified. Defaults to false. More...
 
JFunction GetRecordData [get]
 Formats the data for each record before sending it to the server. This method should be overridden to format the data in a way that differs from the default. More...
 
JFunction FilterRecord [get]
 
JFunction FilterField [get]
 
JFunction Prepare [get]
 
virtual bool ExcludeId [get, set]
 
virtual bool SkipIdForPhantomRecords [get, set]
 
virtual bool SkipPhantomId [get, set]
 
virtual bool HtmlEncode [get, set]
 Configure true to encode html in record data before sending More...
 
virtual string ClientIdProperty [get, set]
 When specified this property causes the Ext.data.Model.idProperty of newly created records to be sent to the server as this name instead of the value of the idProperty. More...
 
virtual string DateFormat [get, set]
 
DataOptions PartialDataOptions [get]
 This object contains the options passed to Ext.data.Model.getData when writing non Ext.data.Model.phantom records or when writeAllFields is set to false. More...
 
TransformFunction Transform [get]
 If a transform function is set, it will be invoked just before writeRecords executes. It is passed the unserialized data object and the request object. The transform function returns a data object, which can be a modified version of the original data object, or a completely new data object. The transform can be a function, or an object with a 'fn' key and an optional 'scope' key. More...
 
virtual bool WriteRecordId [get, set]
 

Additional Inherited Members

- Public Member Functions inherited from Ext.Net.BaseItem.Config
override string ToString ()
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
new Type GetType ()
 
object ApplyIf (object obj)
 
Apply< T > (object obj)
 
object Apply (object obj)
 
virtual string Serialize ()
 

Detailed Description

Member Function Documentation

◆ operator JsonWriter.Builder()

static implicit Ext.Net.JsonWriter.Config.operator JsonWriter.Builder ( JsonWriter.Config  config)
inlinestatic

Property Documentation

◆ AllowSingle

virtual bool Ext.Net.JsonWriter.Config.AllowSingle
getset

False to ensure that records are always wrapped in an array, even if there is only one record being sent. When there is more than one record, they will always be encoded into an array.

◆ Encode

virtual bool Ext.Net.JsonWriter.Config.Encode
getset

Configure true to send record data (all record fields if writeAllFields is true) as a JSON encoded HTTP parameter named by the root configuration.

◆ ExpandData

virtual bool Ext.Net.JsonWriter.Config.ExpandData
getset

◆ RootProperty

virtual string Ext.Net.JsonWriter.Config.RootProperty
getset

The HTTP parameter name by which JSON encoded records will be passed to the server if the encode option is true.


The documentation for this class was generated from the following file: