<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Multi-line uitable column headers	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/multi-line-uitable-column-headers/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/multi-line-uitable-column-headers?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=multi-line-uitable-column-headers</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Tue, 13 Jul 2021 22:06:09 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/multi-line-uitable-column-headers#comment-511218</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Tue, 13 Jul 2021 22:06:09 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2976#comment-511218</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/multi-line-uitable-column-headers#comment-511217&quot;&gt;Santiago&lt;/a&gt;.

No. In the new web-based uifigures you need to use uihtml and uistyle to update the table appearance.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/multi-line-uitable-column-headers#comment-511217">Santiago</a>.</p>
<p>No. In the new web-based uifigures you need to use uihtml and uistyle to update the table appearance.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Santiago		</title>
		<link>https://undocumentedmatlab.com/articles/multi-line-uitable-column-headers#comment-511217</link>

		<dc:creator><![CDATA[Santiago]]></dc:creator>
		<pubDate>Tue, 13 Jul 2021 21:57:39 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2976#comment-511217</guid>

					<description><![CDATA[Hi , Yair.

¿Do the HTML options still work in the uitables created with the app designer?]]></description>
			<content:encoded><![CDATA[<p>Hi , Yair.</p>
<p>¿Do the HTML options still work in the uitables created with the app designer?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Shi		</title>
		<link>https://undocumentedmatlab.com/articles/multi-line-uitable-column-headers#comment-400507</link>

		<dc:creator><![CDATA[Shi]]></dc:creator>
		<pubDate>Fri, 17 Feb 2017 12:56:35 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2976#comment-400507</guid>

					<description><![CDATA[Hi,Yair
Thanks you createTable.m and it is really work using uicontextmenu in uitree.while I find a bug, I really can set uicontextmenu in old uitable through createTable.m. In container it really have a uicontextmenu defined by program. but in the uitable, it shows also the default uicontextmenu. How can show the Custom menu?]]></description>
			<content:encoded><![CDATA[<p>Hi,Yair<br />
Thanks you createTable.m and it is really work using uicontextmenu in uitree.while I find a bug, I really can set uicontextmenu in old uitable through createTable.m. In container it really have a uicontextmenu defined by program. but in the uitable, it shows also the default uicontextmenu. How can show the Custom menu?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/multi-line-uitable-column-headers#comment-372701</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Thu, 24 Mar 2016 20:01:20 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2976#comment-372701</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/multi-line-uitable-column-headers#comment-372162&quot;&gt;Amit&lt;/a&gt;.

@Amit - try &lt;code&gt;jtable.revalidate(); jtable.repaint();&lt;/code&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/multi-line-uitable-column-headers#comment-372162">Amit</a>.</p>
<p>@Amit &#8211; try <code>jtable.revalidate(); jtable.repaint();</code></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Amit		</title>
		<link>https://undocumentedmatlab.com/articles/multi-line-uitable-column-headers#comment-372162</link>

		<dc:creator><![CDATA[Amit]]></dc:creator>
		<pubDate>Thu, 17 Mar 2016 17:00:19 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2976#comment-372162</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/multi-line-uitable-column-headers#comment-372047&quot;&gt;Amit Madahar&lt;/a&gt;.

Hi Yair - I have a managed to set the height using &lt;code&gt;theader.getParent.setPreferredSize(d)&lt;/code&gt; and it works. However it does not apply it on uitable until I resize it. How can I make it to update dynamically i.e. as soon as I update the property it should be updated in uitable.

Also running &lt;code&gt;theader.getParent.setPreferredSize(d)&lt;/code&gt; in m-file throws an error &#039;Attempt to reference field of non-structure array&#039; which I have also raised (in addition to above) at Matlab forums. 

If you know the answer from top of your head it would be appreciated. If not then I understand you don&#039;t use your time on this.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/multi-line-uitable-column-headers#comment-372047">Amit Madahar</a>.</p>
<p>Hi Yair &#8211; I have a managed to set the height using <code>theader.getParent.setPreferredSize(d)</code> and it works. However it does not apply it on uitable until I resize it. How can I make it to update dynamically i.e. as soon as I update the property it should be updated in uitable.</p>
<p>Also running <code>theader.getParent.setPreferredSize(d)</code> in m-file throws an error &#8216;Attempt to reference field of non-structure array&#8217; which I have also raised (in addition to above) at Matlab forums. </p>
<p>If you know the answer from top of your head it would be appreciated. If not then I understand you don&#8217;t use your time on this.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Amit Madahar		</title>
		<link>https://undocumentedmatlab.com/articles/multi-line-uitable-column-headers#comment-372052</link>

		<dc:creator><![CDATA[Amit Madahar]]></dc:creator>
		<pubDate>Wed, 16 Mar 2016 17:00:47 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2976#comment-372052</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/multi-line-uitable-column-headers#comment-372047&quot;&gt;Amit Madahar&lt;/a&gt;.

Interestingly I have managed to get the dimensions of the header of jtable using:

&lt;pre lang=&quot;matlab&quot;&gt;
mTable=uitable(&#039;v0&#039;,&#039;data&#039;,X...
jtable=mTable.getTable
% get the table header
tHeader=jtable.getTableHeader
% returns dimensions of the header
d=tHeader.getPreferredSize()
&lt;/pre&gt;

Now, d.height returns the height of the header and d.width returns the width of the header. The only problem is whilst setting this property.

It returns no error when I do this: d.height = 50 and I see the new property is set to 50 but it does not update the uitable. Any help on how can I make it to set this property so that it is updated in uitable too will be appreciated?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/multi-line-uitable-column-headers#comment-372047">Amit Madahar</a>.</p>
<p>Interestingly I have managed to get the dimensions of the header of jtable using:</p>
<pre lang="matlab">
mTable=uitable('v0','data',X...
jtable=mTable.getTable
% get the table header
tHeader=jtable.getTableHeader
% returns dimensions of the header
d=tHeader.getPreferredSize()
</pre>
<p>Now, d.height returns the height of the header and d.width returns the width of the header. The only problem is whilst setting this property.</p>
<p>It returns no error when I do this: d.height = 50 and I see the new property is set to 50 but it does not update the uitable. Any help on how can I make it to set this property so that it is updated in uitable too will be appreciated?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/multi-line-uitable-column-headers#comment-372048</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Wed, 16 Mar 2016 14:08:52 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2976#comment-372048</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/multi-line-uitable-column-headers#comment-372047&quot;&gt;Amit Madahar&lt;/a&gt;.

Amit - I concentrated in my book and report on the interface with Matlab, and this is purely an internal Java thing, part of the underlying &lt;code&gt;JTable&lt;/code&gt;. So, you will need to search Java resources for the answer.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/multi-line-uitable-column-headers#comment-372047">Amit Madahar</a>.</p>
<p>Amit &#8211; I concentrated in my book and report on the interface with Matlab, and this is purely an internal Java thing, part of the underlying <code>JTable</code>. So, you will need to search Java resources for the answer.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Amit Madahar		</title>
		<link>https://undocumentedmatlab.com/articles/multi-line-uitable-column-headers#comment-372047</link>

		<dc:creator><![CDATA[Amit Madahar]]></dc:creator>
		<pubDate>Wed, 16 Mar 2016 13:46:24 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2976#comment-372047</guid>

					<description><![CDATA[Hi Yair - Can we control Old uitable Table Header height using Java’s TableHeader sub-component? If so then how? If it is mentioned in any of your published texts please let me know where, I must be overlooking.

Thanks,
Amit]]></description>
			<content:encoded><![CDATA[<p>Hi Yair &#8211; Can we control Old uitable Table Header height using Java’s TableHeader sub-component? If so then how? If it is mentioned in any of your published texts please let me know where, I must be overlooking.</p>
<p>Thanks,<br />
Amit</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/multi-line-uitable-column-headers#comment-370081</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Thu, 18 Feb 2016 17:22:44 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2976#comment-370081</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/multi-line-uitable-column-headers#comment-370065&quot;&gt;Pooja Narayan&lt;/a&gt;.

@Pooja - did you read the &lt;a href=&quot;http://undocumentedmatlab.com/blog/findjobj-find-underlying-java-object&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;&lt;i&gt;&lt;b&gt;findjobj&lt;/b&gt;&lt;/i&gt;&lt;/a&gt; article that I linked in my answer?! &lt;i&gt;&lt;b&gt;findjobj&lt;/b&gt;&lt;/i&gt; is not part of the core Matlab, you need to download and install it]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/multi-line-uitable-column-headers#comment-370065">Pooja Narayan</a>.</p>
<p>@Pooja &#8211; did you read the <a href="http://undocumentedmatlab.com/blog/findjobj-find-underlying-java-object" target="_blank" rel="nofollow"><i><b>findjobj</b></i></a> article that I linked in my answer?! <i><b>findjobj</b></i> is not part of the core Matlab, you need to download and install it</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Pooja Narayan		</title>
		<link>https://undocumentedmatlab.com/articles/multi-line-uitable-column-headers#comment-370065</link>

		<dc:creator><![CDATA[Pooja Narayan]]></dc:creator>
		<pubDate>Thu, 18 Feb 2016 13:24:00 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2976#comment-370065</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/multi-line-uitable-column-headers#comment-370063&quot;&gt;Pooja Narayan&lt;/a&gt;.

Hi Mr Altman, 

No I&#039;m unable to use that. It says &#039;Undefined function or variable &#039;findjobj&#039;&#039;. 

Is there a work-around? 

Best regards,
Pooja]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/multi-line-uitable-column-headers#comment-370063">Pooja Narayan</a>.</p>
<p>Hi Mr Altman, </p>
<p>No I&#8217;m unable to use that. It says &#8216;Undefined function or variable &#8216;findjobj&#8221;. </p>
<p>Is there a work-around? </p>
<p>Best regards,<br />
Pooja</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
