I have a table that allows bulk updates and one can just update multiple rows at a time. I'm looking at options to make some rows of the table editable / not editable based on a condition (lets say one of the field is boolean).
Thank You!!
I have a table that allows bulk updates and one can just update multiple rows at a time. I'm looking at options to make some rows of the table editable / not editable based on a condition (lets say one of the field is boolean).
Thank You!!
@mahesh.deshpande
Do you mean to make certain COLUMNS editable? OR, are all of the columns editable, but a specific row must meet a certain criteria?
All Columns are editable, but one or more rows have to meet the criteria to be editable.
So a column can be editable but if the entire row where that column may be edited does NOT meet criteria, then the column(s)/row should NOT be updated?
@mahesh.deshpande
Hey there You should be able to accomplish this by making the column editable and then using the "Read-only" field:
Hey @lauren.gus,
I thought about that as well, but that disables the whole column on all rows instead of only that specific cell in the row (which is what @mahesh.deshpande want's if I understood correctly), no?
Hey @minijohn Here is a quick example of how this should behave:
oooooh I never thought of checking against
currentRow.id
which seems so obvious now.
Thanks for taking the time to explain
@minijohn Of course, happy to help
@lauren.gus Can you tell me how to do it in the latest retool version?
@Tejas_Akadkar In tablev2
go ahead and click the dropdown by the specific column -> make it editable: