Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Data-Type Column From Read-Only #55

Open
jacobson3 opened this issue Jul 20, 2018 · 0 comments
Open

Change Data-Type Column From Read-Only #55

jacobson3 opened this issue Jul 20, 2018 · 0 comments

Comments

@jacobson3
Copy link
Member

We should be able to change the Data Type column in Define Columns.vi to allow for user edits directly from the table. If we set the read-only boolean to FALSE we need to make the increment/decrement and label not visible on the control and also make changes to the callback VI to check whether the channel would be valid. I tested the callback edit below and it does seem to work but I'm not sure if it's too kludgey.

All of the code within the true statement of the case structure is in the current implementation. The addition is between the unbundle by name and that case structure and basically tests whether the configuration would be valid with the same VI used for checking validity in the channel editor.

data type column callback

In the false case we should probably just bundle the line validation string into the error but I just tested with a 1 button dialog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant