Repeater Delete specific records only
I have a repeater showing data from a database table, and I want some of to be given a "read_only" property, meaning that the record can be viewed and reordered (in my use case), but it can't be edited or deleted
I managed to get the read only system to work on editing the fields in the repeater by setting disabled on each of the data fields in the repeater based on a "read_only" column (there is probably a better solution, but it works), but I can't seem to set each entry in a repeater to either be deletable or not.
I tried using with a function to check each record in the repeater array, but it just seems to only be able to set the behaviour of the entire repeater, not each individual record in the repeater.
0 Replies