<?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: Flexible Programming Model Edit Table in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/flexible-programming-model-edit-table/qaa-p/13752575#M4835797</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1399190"&gt;@G_Misi&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I had the similar problem when I was creating custom page within the FPM. I was able to solve it by setting the &lt;STRONG&gt;isEditable&lt;/STRONG&gt; property of global &lt;STRONG&gt;ui&lt;/STRONG&gt; model that is available within FPM to &lt;STRONG&gt;true&lt;/STRONG&gt; within the &lt;STRONG&gt;onAfterRendering&lt;/STRONG&gt; method of the custom page.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;onAfterRendering: function() {
    this.getModel("ui").setProperty("/isEditable", true);
},&lt;/LI-CODE&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Vladimir&lt;/P&gt;</description>
    <pubDate>Fri, 05 Jul 2024 09:46:25 GMT</pubDate>
    <dc:creator>Caisi</dc:creator>
    <dc:date>2024-07-05T09:46:25Z</dc:date>
    <item>
      <title>Flexible Programming Model Edit Table</title>
      <link>https://community.sap.com/t5/technology-q-a/flexible-programming-model-edit-table/qaq-p/13645162</link>
      <description>&lt;P&gt;I've been trying to implement a table with FLP that toggles between editable and non editable on button click.&lt;/P&gt;&lt;P&gt;My first problem is that even when I set readOnly to false the cells look editable but arent.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="G_Misi_1-1711005328348.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/84185iE4A4609D74322ADE/image-size/medium?v=v2&amp;amp;px=400" alt="G_Misi_1-1711005328348.png" title="G_Misi_1-1711005328348.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And my secound proble is, when I change the "readOnly" value via the controller, nothing happens.&lt;/P&gt;&lt;P&gt;The documentation does not include the controller.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="G_Misi_4-1711005893674.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/84188iAD17F296688B074E/image-size/medium?v=v2&amp;amp;px=400" alt="G_Misi_4-1711005893674.png" title="G_Misi_4-1711005893674.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://sapui5.hana.ondemand.com/test-resources/sap/fe/core/fpmExplorer/index.html#/buildingBlocks/table/tableEdit" target="_blank" rel="noopener"&gt;https://sapui5.hana.ondemand.com/test-resources/sap/fe/core/fpmExplorer/index.html#/buildingBlocks/table/tableEdit&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="G_Misi_5-1711006498242.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/84192i891EAE8F4DDB0092/image-size/medium?v=v2&amp;amp;px=400" alt="G_Misi_5-1711006498242.png" title="G_Misi_5-1711006498242.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I found the controller and it seems to set a model that is not bound to the page and when I comment it out the functionality doesn't change.&lt;BR /&gt;&lt;BR /&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 09:09:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/flexible-programming-model-edit-table/qaq-p/13645162</guid>
      <dc:creator>G_Misi</dc:creator>
      <dc:date>2024-03-25T09:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Flexible Programming Model Edit Table</title>
      <link>https://community.sap.com/t5/technology-q-a/flexible-programming-model-edit-table/qaa-p/13752575#M4835797</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1399190"&gt;@G_Misi&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I had the similar problem when I was creating custom page within the FPM. I was able to solve it by setting the &lt;STRONG&gt;isEditable&lt;/STRONG&gt; property of global &lt;STRONG&gt;ui&lt;/STRONG&gt; model that is available within FPM to &lt;STRONG&gt;true&lt;/STRONG&gt; within the &lt;STRONG&gt;onAfterRendering&lt;/STRONG&gt; method of the custom page.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;onAfterRendering: function() {
    this.getModel("ui").setProperty("/isEditable", true);
},&lt;/LI-CODE&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Vladimir&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2024 09:46:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/flexible-programming-model-edit-table/qaa-p/13752575#M4835797</guid>
      <dc:creator>Caisi</dc:creator>
      <dc:date>2024-07-05T09:46:25Z</dc:date>
    </item>
  </channel>
</rss>

