---
title: "Discussion on \"Dynamic Actions in Interactive Grid\" | Hashnode"
description: "Discussion on \"Dynamic Actions in Interactive Grid\". Doing it wrong? (TL:DR Yes)"
url: "https://hashnode.com/posts/dynamic-actions-in-interactive-grid/65cc89229fc6ea9b037bc916"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Dynamic Actions in Interactive Grid](https://yaitcon.hashnode.dev/dynamic-actions-in-interactive-grid?utm_source=hashnode&utm_medium=feed)

Doing it wrong? (TL:DR Yes)

Feb 14, 2024 · 4 min read · yaitcon.hashnode.dev  
Updated Feb 19, 2024  
Read the article

-   [#orclapex](https://hashnode.com/tag/orclapex)
-   [#apex](https://hashnode.com/tag/apex)

## Written by

[Tom Lieber](https://hashnode.com/@Yaitcon)

@Yaitcon · Vienna, Austria

  
[View profile](https://hashnode.com/@Yaitcon)

Yet another IT Consultant

Databaseguy, Oracle Apex Lover

## Responses 1

Markdown supported · ⌘↵ to post

[Tom Lieber](https://hashnode.com/@Yaitcon)

[Feb 18, 2024](https://hashnode.com/posts/dynamic-actions-in-interactive-grid/65cc89229fc6ea9b037bc916/comment/65d27a5f1d262a70120bac31)

Ok, that sounds good, i will try . But how to make it possible for Read Only IG?

[Karel Ekema](https://hashnode.com/@kekema)

[Feb 18, 2024](https://hashnode.com/posts/dynamic-actions-in-interactive-grid/65cc89229fc6ea9b037bc916/comment/65d27a5f1d262a70120bac31#reply-65d27c1e0ee64f9b074c11dd)

edited my answer

[Karel Ekema](https://hashnode.com/@kekema)

[Feb 18, 2024](https://hashnode.com/posts/dynamic-actions-in-interactive-grid/65cc89229fc6ea9b037bc916/comment/65d27897e22680dc44e9aa45)

That makes sense, because your IG is not editable. So you don't have any column items, only cells. Once you make your IG an editable grid, it should work. For non-editable IG (and probably also for editable grids), you will need to check the underlying data in the model, which is conveniently passed in this.data

![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1708292696550/a58ec6c5-1fca-40a6-970c-9dfbeeec17d3.png)

You can check with help of the js model api. Eg:

![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1708294774052/b780bbb6-b5aa-4812-9525-cc92bd62ea0f.png)

(this.data.selectedRecords.length && this.data.model.getValue(this.data.selectedRecords\[0\], 'DESCRIPTION') != "")

Notice upon selection change, there can be multiple rows selected depending on the IG configuration.
