Click or drag to resize
DtResponse Class
DataTables and Editor response object. This object can be used to construct and contain the data in response to a DataTables or Editor request before JSON encoding it and sending to the client-side. Note that this object uses lowercase property names as this it output directly to JSON, so the format and parameter names that DataTables and Editor expect must be used.
Inheritance Hierarchy
SystemObject
  DataTablesDtResponse

Namespace:  DataTables
Assembly:  DataTables (in DataTables.dll) Version: 1.6.5.0 (1.6.5.0)
Syntax
C#
public class DtResponse

The DtResponse type exposes the following members.

Constructors
  NameDescription
Public methodDtResponse
Initializes a new instance of the DtResponse class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMerge
Merge a response object into this one to create a single combined object. Generally parameters that are defined in the object passed in as a parameter will overwrite the parameters in this object if the are defined.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldcancelled
List of ids for row that have had their processing cancelled by the `pre*` events
Public fielddata
Data to draw the table with, for both client-side and server-side processing
Public fielddebugSql
If debug mode is enabled, this property will be populated with information about the SQL statements Editor has run.
Public fielddraw
Draw counter for server-side processing requests
Public fielderror
General error message if there is one
Public fieldfieldErrors
List of field errors if one or more fields are in an error state when validated
Public fieldfiles
File information for the upload input types
Public fieldid
Id of the newly created row for the create action
Public fieldmeta
Information that can be processes in the Ajax callback handlers can be added here. It is not actively used by the libraries.
Public fieldoptions
List of options for Editor `select`, `radio` and `checkbox` field types
Public fieldrecordsFiltered
Record count in the filtered data set for server-side processing requests
Public fieldrecordsTotal
Total record count for server-side processing requests
Public fieldupload
Row data on update action
Top
See Also