# dhtmlxconnector:protocol_details [DHX documentation]

DHTMLX Docs & Samples Explorer

Index
dhtmlxconnector

## Protocol Details

### Data fetching

POST

- none

GET

- connector=true - flag of connector based request
- dhx_colls=field1,field2…fieldN - optional, can contain list of fields for which collections will be requested. dhtmlxGrid use such parameters to request data for combo columns and select filters ( such requests executed only once , for initial data loading)

         some.php?connector=true&dhx_colls=2,3

- dhx_sort[field]=directon - instruct server side connector to sort dataset by defined field

         some.php?connector=true&dhx_sort[2]=asc

- dhx_filter[field]=mask - instruct server side connector to filter dataset by defined field

         //filter by %test%
         some.php?connector=true&dhx_filter[2]=test

##### dhtlmxGrid specific

Requsting part of data

GET

- posStart - position from which data requested
- count - count of rows requested

##### dhtlmxCombo specific

Requsting part of data

GET

- pos - position from which data requested

Filter by label field

GET

- mask - filtering mask for label field

##### dhtmlxTree|dhtlxTreeGrid specific

Request branch of tree

GET

- id - parent id for requested branch

### Data updating

GET

- editing=true - mark of dataprocessor based call

POST

- ids - list of updated records
- [id]_[property] - for each field inside updated record related field in POST generated
- [id]_!nativeeditor_status - action type