rowmode function

Modal state of a variable