<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Smart Table Responsive with input fields in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/smart-table-responsive-with-input-fields/qaa-p/466398#M76130</link>
    <description>&lt;P&gt;Hi Abhishek&lt;/P&gt;
  &lt;P&gt;By default, oData model is one way binding. You need to see it to two way binding&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;				oModel = new sap.ui.model.odata.v2.ODataModel(sURL, {
					json: true
				});				
				oModel.setDefaultBindingMode("TwoWay");
				oView = this.getView();
				oView.setModel(oModel);
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Thanks&lt;/P&gt;
  &lt;P&gt;-D&lt;/P&gt;</description>
    <pubDate>Sat, 29 Jul 2017 06:10:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2017-07-29T06:10:27Z</dc:date>
    <item>
      <title>Smart Table Responsive with input fields</title>
      <link>https://community.sap.com/t5/technology-q-a/smart-table-responsive-with-input-fields/qaq-p/466397</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
  &lt;P&gt;I have a smart table responsive table type. I have items with individual items to bind data to my smart table. In my smart table, the first two columns are editable, for that i am using sap.m.Input control.]&lt;/P&gt;
  &lt;P&gt;My issue: When i edit my text and switch to display mode, i see the displayed text.&lt;/P&gt;
  &lt;P&gt;When i switch back to edit, i see not the original text but the one i edited.&lt;/P&gt;
  &lt;P&gt;I am trying to reset my edited changes back to what was before.&lt;/P&gt;
  &lt;P&gt;&lt;A href="http://veui5infra.dhcp.wdf.sap.corp:8080/snippix/#22868" target="test_blank"&gt;http://veui5infra.dhcp.wdf.sap.corp:8080/snippix/#22868&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;I have attached a similar snippix. If you edit ALFKI to ALFKI2, Then switch to display mode, you will see ALFKI. But when you switch back to edit, you will see ALFKI2, not ALFKI. I tried rebinding the table, but this does not work.&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;Any ideas appreciated. Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2017 18:48:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/smart-table-responsive-with-input-fields/qaq-p/466397</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-07-26T18:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Smart Table Responsive with input fields</title>
      <link>https://community.sap.com/t5/technology-q-a/smart-table-responsive-with-input-fields/qaa-p/466398#M76130</link>
      <description>&lt;P&gt;Hi Abhishek&lt;/P&gt;
  &lt;P&gt;By default, oData model is one way binding. You need to see it to two way binding&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;				oModel = new sap.ui.model.odata.v2.ODataModel(sURL, {
					json: true
				});				
				oModel.setDefaultBindingMode("TwoWay");
				oView = this.getView();
				oView.setModel(oModel);
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Thanks&lt;/P&gt;
  &lt;P&gt;-D&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jul 2017 06:10:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/smart-table-responsive-with-input-fields/qaa-p/466398#M76130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-07-29T06:10:27Z</dc:date>
    </item>
  </channel>
</rss>

