<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — How to apply nowrap in a Cell using db_pager]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=8158</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=8158&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in How to apply nowrap in a Cell using db_pager.]]></description>
		<lastBuildDate>Mon, 20 May 2019 13:41:05 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: How to apply nowrap in a Cell using db_pager]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=34974#p34974</link>
			<description><![CDATA[<p>Is date always the 5th column in function display_db_pager?</p><p>If it is you could use a nth child css selector?</p><p>If it is not always the same column, you would have to include the division(3rd line of same function) such as div#_doc_tbl_span(customer allocation) or div#_trans_tbl_span(customer transactions) to give a unique selector and change the nth child number accordingly; but its used 22 times, so possibly 22 different div# id&#039;s.</p><br /><p>Edit: the above may affect other tables as well, so you would have to add an addition class:-</p><div class="codebox"><pre><code>change

File: \includes\ui\db_pager_view.inc
115:                 label_cell(sql2date($cell), &quot;align=&#039;center&#039; nowrap&quot;); break;

to 

File: \includes\ui\db_pager_view.inc
115:                 label_cell(sql2date($cell), &quot;align=&#039;center&#039; nowrap class=&#039;mystyle&#039;&quot;); break;</code></pre></div><p>Now &#039;mystyle&#039; is unique; so can be formatted how you want</p><br /><p>Or you can you use inline styling directly to the function</p>]]></description>
			<author><![CDATA[null@example.com (poncho1234)]]></author>
			<pubDate>Mon, 20 May 2019 13:41:05 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=34974#p34974</guid>
		</item>
		<item>
			<title><![CDATA[How to apply nowrap in a Cell using db_pager]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=34970#p34970</link>
			<description><![CDATA[<p>How can I apply formatting to a cell <strong>nowrap</strong> using db_pager</p>]]></description>
			<author><![CDATA[null@example.com (boxygen)]]></author>
			<pubDate>Mon, 20 May 2019 08:08:54 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=34970#p34970</guid>
		</item>
	</channel>
</rss>
