table view:number of entries
I need to disable a button when I have added a single entry to my table view.
How do i check for the number of entries in a table view in order to disable the button of adding further entries.
Thanks and Regards
Carsten Kasper replied
I have not used the COUNT variable on the collection wrapper, but there is a method SIZE( ) on it as well that will tell how many entries there are. It does not matter if it is a value or model node.
if typed_context->/MyContextNode/->collection_wrapper->size( ) < 1. *enable button endif.