<?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>topic Re: Create a table with no title/header rows?? in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/8009851#M25894</link>
    <description>&lt;P&gt;eg:&lt;/P&gt;&lt;PRE&gt;                    CellRange range = CellRange.Create(tbl, 0, 0, 0, 2);
                    tbl.MergeCells(range);&lt;/PRE&gt;&lt;P&gt;Where tbl is the table object and 2 is the number of columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try it and let me know.&lt;/P&gt;</description>
    <pubDate>Thu, 17 May 2018 19:47:03 GMT</pubDate>
    <dc:creator>_Tharwat</dc:creator>
    <dc:date>2018-05-17T19:47:03Z</dc:date>
    <item>
      <title>Create a table with no title/header rows??</title>
      <link>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/8009660#M25891</link>
      <description>&lt;P&gt;I'm trying to create a simple table with no title or header rows, only data rows.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First i tried IsTitleSuppressed &amp;amp; IsHeaderSuppressed, but those give me a warning message saying they "are obsolete, use Cell Functionality instead"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ok, not entirely sure what they mean by "cell functionality" so i tried the method listed here -&amp;nbsp;&lt;A href="http://through-the-interface.typepad.com/through_the_interface/2011/11/handling-protocol-changes-to-autocads-table-in-net.html" target="_blank"&gt;http://through-the-interface.typepad.com/through_the_interface/2011/11/handling-protocol-changes-to-autocads-table-in-net.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;Next we have the third set of warnings, which relate to suppression of the title and header rows. These are also at the Cell level, but are also a bit tricky to get access to. You need to get the Cells for the row (passing in the row number and -1, for the column) and get/set the Style property. This string property should contain “Title” for title rows and “Header” for header rows. If you want to suppress the title – the equivalent of Table.IsTitleSuppressed = true), you can search through for the row containing “Title” in its Style property, and set it to the empty string (“”). And the equivalent operation for the header row."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;That doesn't work either. If i set it to an empty string nothing changes and if i set the string to "Data" I get an error saying "eNotApplicable". I also tried setting myTable.Rows[1].Style, that didn't work either. Can i get some help here please? I've spent hours on this already and I still haven't been able to get it to work. Thank you.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2018 18:37:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/8009660#M25891</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-17T18:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Create a table with no title/header rows??</title>
      <link>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/8009794#M25892</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Did you try the method &lt;FONT color="#0000FF"&gt;mergecells&amp;nbsp;&lt;/FONT&gt;before?&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2018 19:16:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/8009794#M25892</guid>
      <dc:creator>_Tharwat</dc:creator>
      <dc:date>2018-05-17T19:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Create a table with no title/header rows??</title>
      <link>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/8009817#M25893</link>
      <description>No, I didn't think that merging would be relevant. How would one go about this? Merge the entire row and then set the style after merging?</description>
      <pubDate>Thu, 17 May 2018 19:28:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/8009817#M25893</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-17T19:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: Create a table with no title/header rows??</title>
      <link>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/8009851#M25894</link>
      <description>&lt;P&gt;eg:&lt;/P&gt;&lt;PRE&gt;                    CellRange range = CellRange.Create(tbl, 0, 0, 0, 2);
                    tbl.MergeCells(range);&lt;/PRE&gt;&lt;P&gt;Where tbl is the table object and 2 is the number of columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try it and let me know.&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2018 19:47:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/8009851#M25894</guid>
      <dc:creator>_Tharwat</dc:creator>
      <dc:date>2018-05-17T19:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Create a table with no title/header rows??</title>
      <link>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/8009921#M25895</link>
      <description>&lt;P&gt;This might also work.&lt;/P&gt;&lt;P&gt;mytable.Rows[i].Style = "Data";&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2018 20:18:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/8009921#M25895</guid>
      <dc:creator>fieldguy</dc:creator>
      <dc:date>2018-05-17T20:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Create a table with no title/header rows??</title>
      <link>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/8009934#M25896</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/660967"&gt;@_Tharwat&lt;/a&gt;wrote:&lt;BR /&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;PRE&gt;                    CellRange range = CellRange.Create(tbl, 0, 0, 0, 2);
                    tbl.MergeCells(range);&lt;/PRE&gt;&lt;P&gt;Where tbl is the table object and 2 is the number of columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try it and let me know.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried it but nothing seems to have changed. The first line of the table is still Title and the second line is Header. After that I tried changing range.Style and that doesn't seem to work either.&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2018 20:27:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/8009934#M25896</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-17T20:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Create a table with no title/header rows??</title>
      <link>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/8009940#M25897</link>
      <description>&lt;P&gt;Sorry for the confusion but you need unmergecells and not mergecells.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2018 20:28:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/8009940#M25897</guid>
      <dc:creator>_Tharwat</dc:creator>
      <dc:date>2018-05-17T20:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Create a table with no title/header rows??</title>
      <link>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/8009941#M25898</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/81963"&gt;@fieldguy&lt;/a&gt;wrote:&lt;BR /&gt;&lt;P&gt;This might also work.&lt;/P&gt;&lt;P&gt;mytable.Rows[i].Style = "Data";&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Error "eNotApplicable" &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://forums.autodesk.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2018 20:29:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/8009941#M25898</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-17T20:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Create a table with no title/header rows??</title>
      <link>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/8009945#M25899</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/660967"&gt;@_Tharwat&lt;/a&gt;wrote:&lt;BR /&gt;&lt;P&gt;Sorry for the confusion but you need unmergecells and not mergecells.&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Still doesn't seem to be doing anything. Am i supposed to set Style after unmerging?&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2018 20:31:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/8009945#M25899</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-17T20:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Create a table with no title/header rows??</title>
      <link>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/8010066#M25900</link>
      <description>&lt;P&gt;Sorry - after re-reading I see in your 1st post you tried&amp;nbsp;&amp;nbsp;mytable.Rows[i].Style = "Data".&lt;/P&gt;&lt;P&gt;I also use mergecells (not unmerge) and it occurs after setting the style.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I remember finding quite a few samples in the web but I didn't save the urls.&amp;nbsp; Have you seen&amp;nbsp;&lt;A href="https://sites.google.com/site/acadhowtodo/net/styles/table-styles" target="_blank"&gt;&amp;gt;&amp;gt;this&amp;lt;&amp;lt;?&lt;/A&gt; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2018 21:28:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/8010066#M25900</guid>
      <dc:creator>fieldguy</dc:creator>
      <dc:date>2018-05-17T21:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Create a table with no title/header rows??</title>
      <link>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/8010646#M25901</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try&amp;nbsp;tab.Rows[0].Style = "&lt;STRONG&gt;_DATA&lt;/STRONG&gt;";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2018 07:02:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/8010646#M25901</guid>
      <dc:creator>Virupaksha_aithal</dc:creator>
      <dc:date>2018-05-18T07:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create a table with no title/header rows??</title>
      <link>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/8011157#M25902</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/826400"&gt;@Virupaksha_aithal&lt;/a&gt;wrote:&lt;BR /&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please try&amp;nbsp;tab.Rows[0].Style = "&lt;STRONG&gt;_DATA&lt;/STRONG&gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I'm still getting error "eNotApplicable" when I try to do this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2018 11:36:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/8011157#M25902</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-18T11:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Create a table with no title/header rows??</title>
      <link>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/8011177#M25903</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/81963"&gt;@fieldguy&lt;/a&gt;wrote:&lt;BR /&gt;&lt;P&gt;Sorry - after re-reading I see in your 1st post you tried&amp;nbsp;&amp;nbsp;mytable.Rows[i].Style = "Data".&lt;/P&gt;&lt;P&gt;I also use mergecells (not unmerge) and it occurs after setting the style.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I remember finding quite a few samples in the web but I didn't save the urls.&amp;nbsp; Have you seen&amp;nbsp;&lt;A href="https://sites.google.com/site/acadhowtodo/net/styles/table-styles" target="_blank"&gt;&amp;gt;&amp;gt;this&amp;lt;&amp;lt;?&lt;/A&gt; &amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hmm thanks for the link. I was trying to use the standard table style instead of creating a new one from scratch but I'm out of ideas at this point. I'll give that a try this weekend.&lt;/P&gt;&lt;P class="1526643896838"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="1526643896838"&gt;It would be really nice if there was a simple option for this like&amp;nbsp;&lt;SPAN&gt;IsTitleSuppressed &amp;amp; IsHeaderSuppressed though, or at least some better documentation from Autodesk on how we're supposed to do this without those.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2018 11:49:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/8011177#M25903</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-18T11:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Create a table with no title/header rows??</title>
      <link>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/9306349#M25904</link>
      <description>&lt;P&gt;Looks like the table style needs to be set before setting the individual row or cell style.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;tble.TableStyle = tblStyle.ObjectId;&lt;/PRE&gt;
&lt;P&gt;I came here via Google and I suspect I'd be back here again in the future when I copy code from one project to another and neglect to copy over all of the code, hence this comment on this old post.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like all of the other suggestions are correct and didn't notice the table style wasn't being set first.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2020 02:17:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/9306349#M25904</guid>
      <dc:creator>Civil3DReminders_com</dc:creator>
      <dc:date>2020-02-10T02:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Create a table with no title/header rows??</title>
      <link>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/12897254#M25905</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sophia_lee_0-1721006496671.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1386595iD1DAEF1E00849509/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sophia_lee_0-1721006496671.png" alt="sophia_lee_0-1721006496671.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;When creating a table, change the first row cell and second row cell style to data, then it won't create a table with header or title. hope this helped! thanks&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 01:22:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/12897254#M25905</guid>
      <dc:creator>sophia_lee</dc:creator>
      <dc:date>2024-07-15T01:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Create a table with no title/header rows??</title>
      <link>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/12897373#M25906</link>
      <description>&lt;P&gt;I think the original poster is asking about how to do this in code, not through the user interface.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BTW, going through the UI, one must also change the height of the first row.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 04:05:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/create-a-table-with-no-title-header-rows/m-p/12897373#M25906</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2024-07-15T04:05:04Z</dc:date>
    </item>
  </channel>
</rss>

