Devextreme-reactive: Issue that columns with edit mode off render the editing component

Created on 19 Feb 2020  路  6Comments  路  Source: DevExpress/devextreme-reactive

https://codesandbox.io/s/trusting-golick-skn26

Editing feature of all columns is off. (columnEditingEnabled = false)
edit product column open (columnExtensions={[{ columnName: "product", editingEnabled: true }]})

but when I click on the Shipped column it goes into editing mode.

for some cases, we don't want to show the edit feature in other columns. For example, disabled input appears in other columns. No input appears. In fact, that column is not editable. Clicking on the cell goes into the editing state and does not appear disabled.

Grid question

Most helpful comment

In this case you can use Controlled Mode and manage EditingState's editingCells directly through editingCells and onEditingCellsChange props. Here is the updated example: https://codesandbox.io/s/silent-shape-2iosi.
Does this solution suit your needs?

All 6 comments

Hello,

You should use disabled prop to make your editor read-only. Here is the updated sample.

If you have any other questions, don't hesitate to ask them.

You misunderstood my question.
I don't want that component to appear at all when I click.
But it seems even if it is disabled.
@AryamnovEugeniy

In this case you can use Controlled Mode and manage EditingState's editingCells directly through editingCells and onEditingCellsChange props. Here is the updated example: https://codesandbox.io/s/silent-shape-2iosi.
Does this solution suit your needs?

I think this solves my problem.
Compared to other sold charts, you have a much more helpful team.
Thank you so much.

I'm glad that it helped!

This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

glenpadua picture glenpadua  路  3Comments

sintuchintu picture sintuchintu  路  3Comments

franklixuefei picture franklixuefei  路  3Comments

Vaccano picture Vaccano  路  3Comments

zcuric picture zcuric  路  3Comments