<?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: Prevent page from refreshing when filtering HubDB in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Prevent-page-from-refreshing-when-filtering-HubDB/m-p/428286#M22504</link>
    <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/170856"&gt;@ckingg&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want a prebuilt solution, you could look into something like &lt;A href="https://isotope.metafizzy.co/" target="_blank" rel="noopener"&gt;Isotope&lt;/A&gt; or &lt;A href="https://www.kunkalabs.com/mixitup/" target="_blank" rel="noopener"&gt;Mixitup&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/73772"&gt;@Kevin-C&lt;/a&gt; could probably offer some advice here as well.&amp;nbsp; Might be a cool tutorial we can create!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Apr 2021 14:27:47 GMT</pubDate>
    <dc:creator>dennisedson</dc:creator>
    <dc:date>2021-04-15T14:27:47Z</dc:date>
    <item>
      <title>Prevent page from refreshing when filtering HubDB</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Prevent-page-from-refreshing-when-filtering-HubDB/m-p/427966#M22486</link>
      <description>&lt;P&gt;I'm working on a page that has 4 filters. It works just fine for filtering as is and it technically auto filters as you select the options in the avialbe dropdowns and checkboxes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the issue is that the page refreshes after every filter selection in a checkbox or dropdown. I don't want the page to refresh as users are filtering.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know I could use Ajax for this but I have no idea how to get started with that or how to use it with HubDB. I looked at the docs and it shows filters, functions, etc., but there are not tutorials or getting started setup guides that I've found.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone could help with this or can point me to a tutorial of some sort, I would appreciate it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 18:46:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Prevent-page-from-refreshing-when-filtering-HubDB/m-p/427966#M22486</guid>
      <dc:creator>ckingg</dc:creator>
      <dc:date>2021-04-14T18:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent page from refreshing when filtering HubDB</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Prevent-page-from-refreshing-when-filtering-HubDB/m-p/428286#M22504</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/170856"&gt;@ckingg&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want a prebuilt solution, you could look into something like &lt;A href="https://isotope.metafizzy.co/" target="_blank" rel="noopener"&gt;Isotope&lt;/A&gt; or &lt;A href="https://www.kunkalabs.com/mixitup/" target="_blank" rel="noopener"&gt;Mixitup&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/73772"&gt;@Kevin-C&lt;/a&gt; could probably offer some advice here as well.&amp;nbsp; Might be a cool tutorial we can create!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 14:27:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Prevent-page-from-refreshing-when-filtering-HubDB/m-p/428286#M22504</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-04-15T14:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent page from refreshing when filtering HubDB</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Prevent-page-from-refreshing-when-filtering-HubDB/m-p/428291#M22506</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13982"&gt;@dennisedson&lt;/a&gt; you know this is my&amp;nbsp;favorite hubspot topic!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hey &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/170856"&gt;@ckingg&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could prevent the page refresh on the form change, store the selected filters, on a click append them to the URL using a query param, and then submit the new URL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The template would also need the HUBL to loop through the filters from the query_dict to get the correct data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Busy week, but if I can I'll follow up with some code.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 14:41:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Prevent-page-from-refreshing-when-filtering-HubDB/m-p/428291#M22506</guid>
      <dc:creator>Kevin-C</dc:creator>
      <dc:date>2021-04-15T14:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent page from refreshing when filtering HubDB</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Prevent-page-from-refreshing-when-filtering-HubDB/m-p/428683#M22533</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13982"&gt;@dennisedson&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/73772"&gt;@Kevin-C&lt;/a&gt;&amp;nbsp; Thanks for the replies! I endedup going with Isotope and that seems to be working alright. However, an Ajax tutoriol would be helpful for futute projects!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 13:44:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Prevent-page-from-refreshing-when-filtering-HubDB/m-p/428683#M22533</guid>
      <dc:creator>ckingg</dc:creator>
      <dc:date>2021-04-16T13:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent page from refreshing when filtering HubDB</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Prevent-page-from-refreshing-when-filtering-HubDB/m-p/553013#M26744</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/73772"&gt;@Kevin-C&lt;/a&gt;&amp;nbsp; but isotope filter the records from the showed records only not from all the records I don't want to load all the records but filter should be working with all records along with load more options and copepen code will be great thanks in advance&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 08:23:54 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Prevent-page-from-refreshing-when-filtering-HubDB/m-p/553013#M26744</guid>
      <dc:creator>ramanverma2005</dc:creator>
      <dc:date>2022-01-10T08:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent page from refreshing when filtering HubDB</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Prevent-page-from-refreshing-when-filtering-HubDB/m-p/1082032#M41549</link>
      <description>&lt;P&gt;Would you please follow up on this with some code?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 10:59:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Prevent-page-from-refreshing-when-filtering-HubDB/m-p/1082032#M41549</guid>
      <dc:creator>sanyog</dc:creator>
      <dc:date>2024-12-11T10:59:16Z</dc:date>
    </item>
  </channel>
</rss>

