# Remove ReadOnly on EpiDataView

**URL:** <https://www.epiusers.help/t/remove-readonly-on-epidataview/80401>\
**Category:** Epicor ERP 10\
**Tags:** customization\
**Created:** [July 8, 2021, 12:53pm UTC](https://www.epiusers.help/t/remove-readonly-on-epidataview/80401 "2021-07-08T12:53:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![louis.fequet](https://www.epiusers.help/user_avatar/www.epiusers.help/louis.fequet/32/102245_2.png) [@louis.fequet](https://www.epiusers.help/u/louis.fequet)\
**Post date:** [July 8, 2021, 12:53pm UTC](https://www.epiusers.help/t/remove-readonly-on-epidataview/80401/1 "2021-07-08T12:53:05Z")

</div>

Hi All,

I’ve tried multiple scenarios (BaqDataView and EpiDataView) and the results is the same. I’m in Quote Entry, I have created a new tab, I’m adding and EpidataView to the transaction object and I’m binding the grid to the EpidataView.

```auto
oTrans.Add("QuoteOrderWzd", edvQuoteOrderWzd);

```

When the Quote is marked Quoted, everything is in read only mode, even my custom EpiDataView. Changing the ExtendedProperties doesn’t help me out.

```auto
edvQuoteOrderWzd.dataView.Table.Columns["Project_ProjectID"].ExtendedProperties["ReadOnly"] = false;

```

My custom EpiDataView behavior is dictated by something in the transaction. I have decompiled the EpiDataView class but I couldn’t find where the EpiMagic occurs. My plan B is to link the grid datasource directly to a table. But I would prefer to work with EpiDataViews or BaqDataViews. Can somebody help me on this one?

---

<div class="post-metadata">

**Author:** ![cfinley](https://www.epiusers.help/letter_avatar_proxy/v4/letter/c/3e96dc/32.png) [@cfinley](https://www.epiusers.help/u/cfinley)\
**Post date:** [July 8, 2021, 1:12pm UTC](https://www.epiusers.help/t/remove-readonly-on-epidataview/80401/2 "2021-07-08T13:12:01Z")

</div>

Can your verify that your ExtendedProperties code is firing at the right time by adding a temp button?

Could it also be a row rule?

---

<div class="post-metadata">

**Author:** ![louis.fequet](https://www.epiusers.help/user_avatar/www.epiusers.help/louis.fequet/32/102245_2.png) [@louis.fequet](https://www.epiusers.help/u/louis.fequet)\
**Post date:** [July 8, 2021, 1:26pm UTC](https://www.epiusers.help/t/remove-readonly-on-epidataview/80401/3 "2021-07-08T13:26:16Z")

</div>

Thanks @cfinley for your reply.

No row rule.

```auto
private void btnRetrieve_Click(object sender, System.EventArgs args)
{
	var quoteHedView = oTrans.Factory("QuoteHed");
	if(quoteHedView.Row == -1) return;

	var quoteNum = quoteHedView.CurrentDataRow["QuoteNum"].ToString();
	LoadEdvQuoteOrderWzd(quoteNum);
	edvQuoteOrderWzd.dataView.Table.Columns["Project_ProjectID"].ExtendedProperties["ReadOnly"] = false;
}

```

---

<div class="post-metadata">

**Author:** ![louis.fequet](https://www.epiusers.help/user_avatar/www.epiusers.help/louis.fequet/32/102245_2.png) [@louis.fequet](https://www.epiusers.help/u/louis.fequet)\
**Post date:** [July 8, 2021, 1:52pm UTC](https://www.epiusers.help/t/remove-readonly-on-epidataview/80401/4 "2021-07-08T13:52:03Z")

</div>

By the way, I’ve also tried:

```
edvQuoteOrderWzd.dataView.Table.Columns["Project_ProjectID"].ExtendedProperties["ReadOnly"] = false;
edvQuoteOrderWzd.dataView.Table.Columns["Project_ProjectID"].ExtendedProperties["Enabled"] = true;
edvQuoteOrderWzd.SetCurrentRowPropertyManually("Project_ProjectID", SettingStyle.OK);

```

The last works. But this is not what I want. I want to be able to edit cells in the desired column.

Any thoughts?

---

<div class="post-metadata">

**Author:** ![louis.fequet](https://www.epiusers.help/user_avatar/www.epiusers.help/louis.fequet/32/102245_2.png) [@louis.fequet](https://www.epiusers.help/u/louis.fequet)\
**Post date:** [July 8, 2021, 2:08pm UTC](https://www.epiusers.help/t/remove-readonly-on-epidataview/80401/5 "2021-07-08T14:08:00Z")

</div>

I’m just sorry to poke you on this one @josecgomez@hkeric.wci

Can you help me? Do you know why my custom EpiDataView becomes ReadOnly as soon as the quote is marked Quoted? What is the mechanism?

---

<div class="post-metadata">

**Author:** ![josecgomez](https://www.epiusers.help/user_avatar/www.epiusers.help/josecgomez/32/55731_2.png) [@josecgomez](https://www.epiusers.help/u/josecgomez)\
**Post date:** [July 8, 2021, 2:08pm UTC](https://www.epiusers.help/t/remove-readonly-on-epidataview/80401/6 "2021-07-08T14:08:51Z")

</div>

The whole quote screen is read only once quoted.

---

<div class="post-metadata">

**Author:** ![louis.fequet](https://www.epiusers.help/user_avatar/www.epiusers.help/louis.fequet/32/102245_2.png) [@louis.fequet](https://www.epiusers.help/u/louis.fequet)\
**Post date:** [July 8, 2021, 2:11pm UTC](https://www.epiusers.help/t/remove-readonly-on-epidataview/80401/7 "2021-07-08T14:11:04Z")

</div>

So basically, I would have to bind the grid to a datable? So be it, I’ll work the DataSource itself.

Thank you @josecgomez
