<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Table paging for data not from SQL]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=9981&amp;type=atom" />
	<updated>2023-01-05T02:45:08Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=9981</id>
		<entry>
			<title type="html"><![CDATA[Re: Table paging for data not from SQL]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41924#p41924" />
			<content type="html"><![CDATA[<p>Hi,</p><p>As far as I know this cannot be done with existing core functionality.&nbsp; I&#039;ve done this in one of my modules though. I&#039;ve created a PagerInterface and there are two implementations one for query data, and one for &quot;Model&quot; data (my code has data in several &#039;Model&#039; classes).&nbsp; Here&#039;s a link to that:</p><p>https://github.com/saygoweb/frontaccounting-module-sgw_sales/tree/master/includes/common/Pager</p><p>This did require a few changes in the core to support.&nbsp; These changes are here.</p><p>https://github.com/cambell-prince/frontaccounting/commit/60a6218858ae6a5d7793ab180a62f0deed57b951</p><p>Those changes are based off a fork that I use, not based off the current core.&nbsp; So, you&#039;d need to adapt as necessary to fit the current core.</p>]]></content>
			<author>
				<name><![CDATA[cambell]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19447</uri>
			</author>
			<updated>2023-01-05T02:45:08Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41924#p41924</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Table paging for data not from SQL]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41491#p41491" />
			<content type="html"><![CDATA[<p>Hi,</p><p>I am aware of db_pager functionality. Now I need to make a table with paging functionality from already queried data.<br />Is there any way to do this?</p>]]></content>
			<author>
				<name><![CDATA[barbarian]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18954</uri>
			</author>
			<updated>2022-09-24T02:19:54Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41491#p41491</id>
		</entry>
</feed>
