hi,
i have a table with column name of approval status which will be approved or pending. i have added another column with render as a view checkbox. here if i column has approved the checkbox should be disabled if pending it should to enable to edit .is there any ways to achieve.
The table's row data is passed to any embedded view. That means that you can bind the checkbox enabled propert to the view's row data. See how to use view.params.value
at the bottom of Table Column Configurations - Ignition User Manual 8.1 - Ignition Documentation.
hi ,
I'm unsure about how to bind the row index. When I do bind it, the change applies to all the rows in the checkbox column. In this scenario, I need to implement a condition involving two columns: 'column1' and 'column2' (checkbox). If the row value in 'column1' is 'approved', then I need to disable the checkbox for that specific row. For the rest of the rows in the 'checkbox' column, they should remain enabled for editing.
Thank you
Block specific cells in the checkbox column from being editable
hi justinedwards ,
I also have functionalities on rows when double-clicked.Is there any other ways?
thank you
One problem at a time. I'm not in a position where I could experiment with this right now, but perhaps this bump to the question will get the attention of somebody in a position to help.
Here is a way to do it.
Step 1: Follow the tutorial posted by Transistor to create a checkbox in a view that is rendered in your Boolean column
Step 2: Add a hidden column called enabled to your table's data property
Step 3: In your checkbox's view, add the rowData parameter
Step 4: Bind your checkbox's enabled parameter to the view's rowData property, and add .enabled
to the end of it.
Note: This will result in a null value and a red dot on your checkbox, but ignore this because this isn't a problem.
Once this is done, you can individually control the enabled property of each checkbox in your table by controlling the corresponding enabled value of the hidden column:
can we have solutions same as for dynamic data coming from Databases ? As in this it show manually data in table. correct ?