> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codenullapp.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DataGrid Details

> The dataGridDetailsIndex property has the selection of values from the current row.

### dataGridDetailsIndex

The **dataGridDetailsIndex** property has the selection of values from the current row. \
It facilitates tasks such as executing queries in cascade with dropdown controls or other control types.\
e.g.\
If you have two dropdown in the same row and want to filter by the first selected value, then you have create a variable and get the value from the context as custom function like this:<br />

````javascript theme={null}
```javascript
context.datasourcecontrol && context.datasourcecontrol[context.dataGridDetailsIndex].FieldToFilter;
```;
````

<figure>
  <img src="https://mintcdn.com/codenull/9RtgKoAtzvpYtN-c/images/JoinptSbUtIUErhu2SS3.png?fit=max&auto=format&n=9RtgKoAtzvpYtN-c&q=85&s=21bd81e50e0a24230076a2cc38ec8e80" alt="" width="1238" height="325" data-path="images/JoinptSbUtIUErhu2SS3.png" />

  <figcaption />
</figure>
