Disabling item click action on selected items

There should be an option to define a criteria based on which a user can click and perform action on a specific item. If the criteria is not met, the whole item should be greyed out indicating its closed or inactive.

Yes you should be able to define criteria for showing either gray button with attached CTA like ‘#’ or show active color button with CTA ‘#fire-event