# GridRowOrderDragDropParam

### RowOrder Drag & Drop Parameter

If an app config is used as a sub data source, the values will be filled in automatically. If u want to set the parameter manually, the values must match the needed information for a SQL-Update statement. See the example below. In addition the relevant table/tables must be prepared to be capable to read and write the ordering data. See the list provided for Manual ordering of rows in a grid

```
{
   "targetTable": "exampleTableName",
   "targetKeyField":"exampleId",
   "targetRowOrderField":"exampleRowOrder"
}
```

```
-- e.g: Those parameters will lead to an update statement like this
UPDATE exampleTableName SET exampleRowOrder = @newRowOrderPosition WHERE exampleId = @id;
```

{% embed url="<https://youtu.be/i5rwxNfoKJM>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://brixxbox.gitbook.io/brixxbox-documentation/configuration/app-editor/app-editor-properties/gridroworderdragdropparam.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
