# Click NOT editable cell in DataGrid

**URL:** <https://forum.kirupa.com/t/click-not-editable-cell-in-datagrid/232603>\
**Category:** Uncategorized\
**Created:** [July 16, 2007, 11:48am UTC](https://forum.kirupa.com/t/click-not-editable-cell-in-datagrid/232603 "2007-07-16T11:48:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![oaki](https://avatars.discourse-cdn.com/v4/letter/o/7993a0/32.png) [@oaki](https://forum.kirupa.com/u/oaki)\
**Post date:** [July 16, 2007, 11:48am UTC](https://forum.kirupa.com/t/click-not-editable-cell-in-datagrid/232603/1 "2007-07-16T11:48:56Z")

</div>

Hi,

I’m trying to load data into a DataGrid like this:

```auto

var nc:DataGridColumn = new DataGridColumn(n);
                nc.editable = false;
            dataGrid.addColumn(nc);
addNewColumn("translation", false);
            _dp = new DataProvider();
            _dp.addItem("just something stupid");
            dataGrid.dataProvider = _dp;

```

I set column.editable to false which means that it looses focus.  
The problem is that if I click this column, there is no event in the DataGridEvent class that could dispatch this event. And obviously DataGridEvent.ITEM\_FOCUS\_IN does not work since the column is unable to have focus.

So how can I check if a cell that is NOT editable has been clicked?

Thanks for you help!
