title: sapui5 ReBind data in table from odata
body: <p>i got a rendered table with odata</p>
  
  <p>This is my controller:</p>
  
  <pre><code>var oTable = this.getTable();
          var oControl = new sap.ui.commons.TextField().bindProperty("value", "OBJ_KEY");
  
          oTable.addColumn(new sap.ui.table.Column({
              label: new sap.ui.commons.Label({text:"OBJ_KEY"}),
              template :oControl,
              sortProperty :"OBJ_KEY",
              filterProperty :"OBJ_KEY",
              width :"10%"
          }));
  
        oControl = new sap.ui.commons.TextField().bindProperty("value", "OBJ_TXT");
  
        oTable.addColumn(new sap.ui.table.Column({
            label: new sap.ui.commons.Label({text:"OBJ_TXT"}),
            template :oControl,
            sortProperty :"OBJ_TXT",
            filterProperty :"OBJ_TXT",
            width :"40%"
            }));
        oTable.setModel(this.oModel);
        var oSorter = new sap.ui.model.Sorter("OBJ_KEY");
        oTable.bindRows("/MATGR1", oSorter);
  </code></pre>
  
  <p>This is my View:</p>
  
  <pre><code>&lt;Table id="sap_m_Page_0-content-build_simple_Table-1534593457799" width="50%" noDataText="No data" mode="None" showSeparators="All" growing="true" growingThreshold="20" growingScrollToLoad="true" items="{plants&gt;/MATGR1}"&gt;
                              &lt;infoToolbar&gt;
                                  &lt;Toolbar width="100%" height="auto" design="Auto" visible="false" enabled="true"&gt;
                                      &lt;content&gt;
                                          &lt;Label text="Label" design="Standard" width="100%" required="false" textAlign="Begin" textDirection="Inherit" visible="true"/&gt;
                                      &lt;/content&gt;
                                  &lt;/Toolbar&gt;
                              &lt;/infoToolbar&gt;
                              &lt;headerToolbar&gt;
                                  &lt;OverflowToolbar width="auto" height="auto" design="Transparent" visible="true" enabled="true"&gt;
                                      &lt;content&gt;
                                          &lt;Title text="Розничный торговый оборот" titleStyle="Auto" width="auto" textAlign="Begin" visible="true" wrapping="false"/&gt;
                                          &lt;ToolbarSpacer width=""/&gt;
                                          &lt;OverflowToolbarButton text="Sort" type="Transparent" icon="sap-icon://sort" iconFirst="true" width="auto" enabled="true" visible="true" iconDensityAware="false" press="_onOverflowToolbarButtonPress"/&gt;
                                          &lt;OverflowToolbarButton text="Filter" type="Transparent" icon="sap-icon://filter" iconFirst="true" width="auto" enabled="true" visible="true" iconDensityAware="false" press="_onOverflowToolbarButtonPress1"/&gt;
                                          &lt;OverflowToolbarButton text="Group" type="Transparent" icon="sap-icon://group-2" iconFirst="true" width="auto" enabled="true" visible="true" iconDensityAware="false" press="_onOverflowToolbarButtonPress2"/&gt;
                                          &lt;OverflowToolbarButton text="Settings" type="Transparent" icon="sap-icon://action-settings" iconFirst="true" width="auto" enabled="true" visible="true" iconDensityAware="false" press="_onOverflowToolbarButtonPress3"/&gt;
                                      &lt;/content&gt;
                                  &lt;/OverflowToolbar&gt;
                              &lt;/headerToolbar&gt;
                              &lt;columns&gt;
                                  &lt;Column width="auto" hAlign="Left" vAlign="Top" minScreenWidth="Phone" demandPopin="false" popinDisplay="Inline" mergeDuplicates="false"&gt;
                                      &lt;header&gt;
                                          &lt;Text text="Наименование" width="auto" maxLines="1" wrapping="false" textAlign="Begin" textDirection="Inherit" visible="true"/&gt;
                                      &lt;/header&gt;
                                      &lt;footer/&gt;
                                  &lt;/Column&gt;
                                  &lt;Column width="auto" hAlign="Left" vAlign="Top" minScreenWidth="Phone" demandPopin="false" popinDisplay="Inline" mergeDuplicates="false"&gt;
                                      &lt;header&gt;
                                          &lt;Text text="Сумма" width="auto" maxLines="1" wrapping="false" textAlign="Begin" textDirection="Inherit" visible="true"/&gt;
                                      &lt;/header&gt;
                                      &lt;footer/&gt;
                                  &lt;/Column&gt;
                              &lt;/columns&gt;
                              &lt;items&gt;
                                  &lt;ColumnListItem type="Active" press="_onRowPress"&gt;
                                      &lt;cells&gt;
                                           &lt;ObjectIdentifier title="{plants&gt;OBJ_KEY}" text="{plants&gt;OBJ_TXT}" titleActive="false" visible="true"/&gt; 
                                      &lt;/cells&gt;
                                  &lt;/ColumnListItem&gt;
                              &lt;/items&gt;
                          &lt;/Table&gt;
  </code></pre>
  
  <p>So what I want to do next: when I click on a row in my table, the table should refresh its data on its own. It is like a hierarchy, because at the first time in table we have categories like: "food, accessories etc" and when i click on food (for ex.) the table should refresh the data to "milk products, sweets, beverages etc". But I've got a problem with the refreshing, because SAP doesn't allow refreshing data when its already bound.</p>
  
  <p>My onpress event:</p>
  
  <pre><code>var oTable = this.byId("sap_m_Page_0-content-build_simple_Table-1534593457799");
  
          var oControl = new sap.ui.commons.TextField().bindProperty("value", "OBJ_KEY");
          oControl = new sap.ui.commons.TextField().bindProperty("value", "OBJ_TXT");
  
          oTable.setModel(this.oModel);
          var oSorter = new sap.ui.model.Sorter("OBJ_KEY");
          oTable.bindRows("/MATGR2", oSorter);
  </code></pre>