<?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: SAPUI5: Drag and Drop, avoiding empty table in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sapui5-drag-and-drop-avoiding-empty-table/qaa-p/444125#M64908</link>
    <description>&lt;P&gt;Did you try to use the noData Property of the Table? &lt;/P&gt;
  &lt;P&gt;i.e.: &lt;/P&gt;
  &lt;P&gt;noData="Please drag-and-drop products here."&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Aug 2018 15:18:36 GMT</pubDate>
    <dc:creator>christophnagy</dc:creator>
    <dc:date>2018-08-03T15:18:36Z</dc:date>
    <item>
      <title>SAPUI5: Drag and Drop, avoiding empty table</title>
      <link>https://community.sap.com/t5/technology-q-a/sapui5-drag-and-drop-avoiding-empty-table/qaq-p/444124</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I'm trying to use drag and drop between two tables. It works fine until i remove the last element from one table to the second one. &lt;/P&gt;&lt;P&gt;The height of &amp;lt;tbody&amp;gt; becomes 0. So I can't drop any items back to the table 1.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/30729-draganddropempty.gif" /&gt;&lt;/P&gt;&lt;P&gt;I already tried to set the &amp;lt;tbody&amp;gt; - min-height up to 80px but it doesn't change anything.&lt;/P&gt;&lt;P&gt;Further informations:&lt;BR /&gt;- using sap.m.table&lt;/P&gt;&lt;P&gt;code-snippet:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  var table = new sap.m.Table("tableGrp" + id,{});
  table.setShowNoData(false);
  table.setModel(this.model);

 var column1 = new sap.m.Column("colGrp1_" + id, { width: "15px" });
 table.addColumn(column1);
 var column2 = new sap.m.Column("colGrp2_" + id, { width: "75px"});
 table.addColumn(column2);


var colItem = new sap.m.ColumnListItem("colItems_" + id, {
type: "Active", 
testpos: "{position}" });

colItem.addStyleClass("midTable");

                
var questionIdentifier = new sap.m.ObjectIdentifier("qIdentifier_" + id, 
{
        title: "{name}",
        text: "{descr}"
});
colItem.addCell(questionIdentifier);
var typeText = new sap.m.Text("typeText2_" + id, { text: "{typename}" });
colItem.addCell(typeText);
(&amp;lt;any&amp;gt;table).bindItems(groupTemp.getModelPath(), colItem);
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;css code-snippet:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;table
{
    min-height: 100px;
}
tbody
{
   min-height: 80px;
}
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If i missed any important information, i will add it.&lt;/P&gt;&lt;P&gt;Does anybody know a solution to avoid getting an empty &amp;lt;tbody&amp;gt;?&lt;/P&gt;&lt;P&gt;Thank you very much in advance for your answer,&lt;BR /&gt;Jan&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 09:47:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sapui5-drag-and-drop-avoiding-empty-table/qaq-p/444124</guid>
      <dc:creator>former_member399929</dc:creator>
      <dc:date>2017-04-19T09:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAPUI5: Drag and Drop, avoiding empty table</title>
      <link>https://community.sap.com/t5/technology-q-a/sapui5-drag-and-drop-avoiding-empty-table/qaa-p/444125#M64908</link>
      <description>&lt;P&gt;Did you try to use the noData Property of the Table? &lt;/P&gt;
  &lt;P&gt;i.e.: &lt;/P&gt;
  &lt;P&gt;noData="Please drag-and-drop products here."&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2018 15:18:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sapui5-drag-and-drop-avoiding-empty-table/qaa-p/444125#M64908</guid>
      <dc:creator>christophnagy</dc:creator>
      <dc:date>2018-08-03T15:18:36Z</dc:date>
    </item>
  </channel>
</rss>

