What options do I have to control a combo-box (or what are my other options?)
I have a Purchasing system, and every step the invoice gets a new status.
However, in certain situations, the superuser can change the status back/forth. However, still with limitations.
So, I have these statuses;
But -e.g.- when the invoice is already Interfaced, I want to disable certain options.
Can I ‘grey out’ certain options (Elements in my domain)? Or can I in some other way build a Combo-box with values build with code? If status = x → show options 1,2,3. Etc.
Any tips regarding this matter?