$ 0 0 Don't forget you need to lock the entity you want to set editable.Without the lock it will stay in display mode.