LabVIEW-DCAF / TagEditorCore

The collection of sample projects, libraries, class implementations, and APIs which make up the core of DCAF.
http://www.ni.com/dcaf
Apache License 2.0
8 stars 6 forks source link

Read-Only Columns Can Still be Edited #372

Closed jacobson3 closed 6 years ago

jacobson3 commented 7 years ago

PR #297 for Issue #275 seemed to introduce this bug. Because the read-only flag does not discard the mouse-down event it will continue to allow edits of the cell.

Reproducing Steps:

  1. Add Modbus Module to DCAF editor
  2. Add new channel
  3. Attempt to change Data Type directly from table
  4. Open Define Columns.vi to find that the Data Type column is set to read-only
jacobson3 commented 7 years ago

Cells only seem to be editable when left-clicked and the row is already active. A simple workaround may be to discard the event if the cell is read only and the row is already selected.