how to push data to existing sapui5 model
<p>I have a Json Model in sapui5 as - //console.log(dModel);</p>

<p><a href="https://i.stack.imgur.com/SDVqc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SDVqc.png" alt="enter image description here"></a></p>

<p>My new data response is as follows - //console.log(response);</p>

<p><a href="https://i.stack.imgur.com/DvpPH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DvpPH.png" alt="enter image description here"></a></p>

<p>Now I want to push new data(only the data part) to the existing model, inside /modelData/data.</p>

<p>code I am trying -</p>

<pre><code>sap.ui.getCore().getModel().getProperty("/modelData/data").push(response.data);
</code></pre>

<p>This code is pushing the data but as - </p>

<p><a href="https://i.stack.imgur.com/8oAhD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8oAhD.png" alt="enter image description here"></a></p>

<p>After 19(old values) it is pushing all the objects inside 20th as 0, 1, 2... The Ideal way should be after 19 I should get 20, 21, 22 and so on. </p>

<p>What changes I need to make to get this, Thank you ... please suggest.</p>