Clear Up
SharpKit Reference

ServerConfig Class

Namespace: Ext.data.proxy

Base Types

System.Object

Constructors

Name Description
ServerConfig()

Properties

Name Description
cacheString The name of the cache param added to the url when using noCache. Defaults to "_dc".
directionParam The name of the direction parameter to send in a request. **This is only used when simpleSortMode is set to true.** Defaults to 'dir'.
extraParams Extra parameters that will be included on every request. Individual requests with params of the same name will override these params when they are in conflict.
filterParam The name of the 'filter' parameter to send in a request. Defaults to 'filter'. Set this to undefined if you don't want to send a filter parameter.
groupParam The name of the 'group' parameter to send in a request. Defaults to 'group'. Set this to undefined if you don't want to send a group parameter.
limitParam The name of the 'limit' parameter to send in a request. Defaults to 'limit'. Set this to undefined if you don't want to send a limit parameter.
noCache Disable caching by adding a unique parameter name to the request. Set to false to allow caching. Defaults to true.
pageParam The name of the 'page' parameter to send in a request. Defaults to 'page'. Set this to undefined if you don't want to send a page parameter.
simpleSortMode Enabling simpleSortMode in conjunction with remoteSort will only send one sort property and a direction when a remote sort is requested. The directionParam and sortParam will be sent with the property name and either 'ASC' or 'DESC'.
sortParam The name of the 'sort' parameter to send in a request. Defaults to 'sort'. Set this to undefined if you don't want to send a sort parameter.
startParam The name of the 'start' parameter to send in a request. Defaults to 'start'. Set this to undefined if you don't want to send a start parameter.
timeout The number of milliseconds to wait for a response. Defaults to 30000 milliseconds (30 seconds).
url The URL from which to request the data object.
© Copyright 2005-2011 SharpKit. All rights reserved.