I don't think it is a good idea to also change sometimes the ``value`` in the data model in a method called ``setIndexInDataModel``. Instead, the ``setValueInDataModel``method should be called with the right condition from ``onbind``.