Skip to Content
avatar image
Former Member

SAPUI5: TwoWayBinding supported for (Tree)Table?

We have a TreeTable (in which the user can enter data) and an oData-Model (V2). TwoWayBinding is activated for the model.

Our problem: Once the user enters data in the TreeTable, this input is not taken over to the model automatically. The input gets lost immediately.

Does anybody know, if TwoWayBinding is supported for (Tree)Table or not?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jul 06, 2017 at 06:56 AM

    Hello Kai,

    It seems some properties is not supported to ODataModel v2 in sap.ui.TreeTable.

    Can u try to push the data into JSON model then sent it ODATA Model.Insted of direct ..

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Vijay

      thanks for your answer.

      Yes, we could try that binding via JSON and probably it would work. But from our point of view, TwoWayBinding should work in our case. Of course only, if supported by the framework. So this is what we want to know, now. Dependent on the answer to our question, we have to search further for a bug OR we have to find another way (for example via JSON).

      Best regards

      Kai

  • avatar image
    Former Member
    Jul 19, 2017 at 10:06 AM

    Hello

    the Problem is solved. To be honest we still don`t know the reason for that problem. Suddenly, after we had generated the oData-service newly, the problem disappeared and the two-way-binding worked.

    Best regards

    Kai

    Add comment
    10|10000 characters needed characters exceeded