<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[My Visual Database — Adjust the column widths of a table grid.]]></title>
		<link>https://myvisualdatabase.com/forum/viewtopic.php?id=9577</link>
		<atom:link href="https://myvisualdatabase.com/forum/extern.php?action=feed&amp;tid=9577&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Adjust the column widths of a table grid..]]></description>
		<lastBuildDate>Thu, 02 Apr 2026 18:17:48 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Adjust the column widths of a table grid.]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=53710#p53710</link>
			<description><![CDATA[<div class="quotebox"><cite>k245 wrote:</cite><blockquote><p><strong>Setting Column Width</strong></p><p>My Visual Database has the ability to manually adjust column widths for each table view. But in some cases, you want more intelligent behavior: automatic alignment of the data width or alignment of the width when the table size is changed. Using scripts you can achieve the desired effect.</p><br /><p>I bring to the attention of readers several scripts that will allow the user to independently select the level of automation for column alignment he needs from four available options:</p><br /><p>Default – manual alignment<br />Proportional – equal width for all columns, retained when the table size is changed<br />According to data – the width is set so that all data is displayed entirely, without cropping<br />Stretch last – the last column is stretched and fills the visible area of the table</p><br /><p><a href="https://k245.ru/en/mvdb-en/setting-column-width.html">https://k245.ru/en/mvdb-en/setting-column-width.html</a></p></blockquote></div><br /><p>Hi K245, thanks for replying! I still have a lot to learn about MVD. I&#039;m not a programmer and I create programs because I really enjoy programming, and with MVD, this happens empirically based on the wealth of knowledge available on the forum. But I realize that you, Sparrow, and Derek (sorry if I don&#039;t remember others) have a deep understanding of MVD. Thank you.</p>]]></description>
			<author><![CDATA[null@example.com (jrga)]]></author>
			<pubDate>Thu, 02 Apr 2026 18:17:48 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=53710#p53710</guid>
		</item>
		<item>
			<title><![CDATA[Re: Adjust the column widths of a table grid.]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=53703#p53703</link>
			<description><![CDATA[<p><strong>Setting Column Width</strong></p><p>My Visual Database has the ability to manually adjust column widths for each table view. But in some cases, you want more intelligent behavior: automatic alignment of the data width or alignment of the width when the table size is changed. Using scripts you can achieve the desired effect.</p><br /><p>I bring to the attention of readers several scripts that will allow the user to independently select the level of automation for column alignment he needs from four available options:</p><br /><p>Default – manual alignment<br />Proportional – equal width for all columns, retained when the table size is changed<br />According to data – the width is set so that all data is displayed entirely, without cropping<br />Stretch last – the last column is stretched and fills the visible area of the table</p><br /><p><a href="https://k245.ru/en/mvdb-en/setting-column-width.html">https://k245.ru/en/mvdb-en/setting-column-width.html</a></p>]]></description>
			<author><![CDATA[null@example.com (k245)]]></author>
			<pubDate>Thu, 02 Apr 2026 08:19:24 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=53703#p53703</guid>
		</item>
		<item>
			<title><![CDATA[Re: Adjust the column widths of a table grid.]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=53698#p53698</link>
			<description><![CDATA[<div class="quotebox"><cite>derek wrote:</cite><blockquote><p>Olá Roberto,<br />Como vai você?<br />I vaguely remember having a similar problem a few years back but can&#039;t remember any details <img src="https://myvisualdatabase.com/forum/img/smilies/sad.png" width="15" height="15" alt="sad" />.<br />Maybe if you can attach your project, someone might be able to spot the reason (but you&#039;re right - normally it would remember column widths from the previous session).<br />Derek.</p></blockquote></div><br /><p>Hi Derek, I&#039;m doing well and I hope you are too. I managed to get the BestFitColumns(bfBoth) command working. The problem was that I placed this command in procedure_tablegrid_OnChange (which is correct), but it had no effect because the record was being loaded via script through procedure_tablegrid_OnCellClick. After placing it in procedure_tablegrid_OnCellClick, everything went back to normal. Thank you for your attention!</p>]]></description>
			<author><![CDATA[null@example.com (jrga)]]></author>
			<pubDate>Wed, 01 Apr 2026 17:11:20 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=53698#p53698</guid>
		</item>
		<item>
			<title><![CDATA[Re: Adjust the column widths of a table grid.]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=53697#p53697</link>
			<description><![CDATA[<p>Olá Roberto,<br />Como vai você?<br />I vaguely remember having a similar problem a few years back but can&#039;t remember any details <img src="https://myvisualdatabase.com/forum/img/smilies/sad.png" width="15" height="15" alt="sad" />.<br />Maybe if you can attach your project, someone might be able to spot the reason (but you&#039;re right - normally it would remember column widths from the previous session).<br />Derek.</p>]]></description>
			<author><![CDATA[null@example.com (derek)]]></author>
			<pubDate>Tue, 31 Mar 2026 14:44:23 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=53697#p53697</guid>
		</item>
		<item>
			<title><![CDATA[Adjust the column widths of a table grid.]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=53696#p53696</link>
			<description><![CDATA[<p>Hello everyone! I have a project that includes a table grid, and I can&#039;t adjust the columns to the column content or column titles. I&#039;ve already used BestFitColumns(), with bfBoth and bfHeader in procedure...tablegrid_OnChange. A native feature (I think it&#039;s native) of the table grid is to &quot;remember&quot; the column sizes after real-time adjustment by the user. Even that isn&#039;t working... I&#039;ve also considered storing the column sizes in a table as they are adjusted, which would solve any similar problem. If anyone can help, I would appreciate it.</p>]]></description>
			<author><![CDATA[null@example.com (jrga)]]></author>
			<pubDate>Tue, 31 Mar 2026 13:29:35 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=53696#p53696</guid>
		</item>
	</channel>
</rss>
