jvx

How can I make certain rows/cells read-only with the JVX Framework?


I have a table with several records and now I want to make individual entries that have a certain value set in a column read-only, or exclusively this one cell of the record. Is there a way to do this with the JVX framework?

I have checked the documentations, but there is not the right one for my requirement.


Solution

  • This is possible with an readonly checker. Just set the readonly checker on a databook and implement your rules.

    If this doesn't work because some technologies don't support this feature, it's also possible to use afterRowSelected and afterColumnSelected events to dis-/enable the whole table.

    Disabling single cells is not nice for users because it means that direct table editing is enabled... just sayin.