<?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 Custom DatePicker extension for selected dates in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Custom-DatePicker-extension-for-selected-dates/m-p/112546#M7720</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;Good evening,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement that needs a date-picker with search for selected dates( dates are not consecutive).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i am using the SenseDateRangePicker which is not serving my purpose.&lt;/P&gt;&lt;P&gt;By default this extension implements the following search criteria (which searches the records between start date and end date)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;self.backendApi.search("&amp;gt;=" + start.format(DateFormat) + "&amp;lt;=" + end.format(DateFormat))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .then(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function&amp;nbsp; {&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.backendApi.acceptSearch(false);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; })&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per my requirement I want to extend/modify this search &lt;SPAN style="font-size: 13.3333px;"&gt;criteria to support searching of records only for the &lt;SPAN style="font-size: 13.3333px;"&gt;selected dates which are not contiguous.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For e.g. I want to search records only for the dates of 10th, 15th and 20th of the current month.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;So is there any way to implement a search expression which takes only the array of selected dates?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Could you help us with: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;1. DatePicker&amp;nbsp; Extension and any Expression change in the &lt;SPAN style="font-size: 13.3333px;"&gt;SenseDateRangePicker .&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;2. Is there any BackEndApi to be used for this purpose.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Aug 2018 10:57:31 GMT</pubDate>
    <dc:creator>basavarajbhavi</dc:creator>
    <dc:date>2018-08-07T10:57:31Z</dc:date>
    <item>
      <title>Custom DatePicker extension for selected dates</title>
      <link>https://community.qlik.com/t5/App-Development/Custom-DatePicker-extension-for-selected-dates/m-p/112546#M7720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;Good evening,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement that needs a date-picker with search for selected dates( dates are not consecutive).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i am using the SenseDateRangePicker which is not serving my purpose.&lt;/P&gt;&lt;P&gt;By default this extension implements the following search criteria (which searches the records between start date and end date)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;self.backendApi.search("&amp;gt;=" + start.format(DateFormat) + "&amp;lt;=" + end.format(DateFormat))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .then(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function&amp;nbsp; {&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.backendApi.acceptSearch(false);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; })&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per my requirement I want to extend/modify this search &lt;SPAN style="font-size: 13.3333px;"&gt;criteria to support searching of records only for the &lt;SPAN style="font-size: 13.3333px;"&gt;selected dates which are not contiguous.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For e.g. I want to search records only for the dates of 10th, 15th and 20th of the current month.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;So is there any way to implement a search expression which takes only the array of selected dates?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Could you help us with: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;1. DatePicker&amp;nbsp; Extension and any Expression change in the &lt;SPAN style="font-size: 13.3333px;"&gt;SenseDateRangePicker .&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;2. Is there any BackEndApi to be used for this purpose.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 10:57:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Custom-DatePicker-extension-for-selected-dates/m-p/112546#M7720</guid>
      <dc:creator>basavarajbhavi</dc:creator>
      <dc:date>2018-08-07T10:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Custom DatePicker extension for selected dates</title>
      <link>https://community.qlik.com/t5/App-Development/Custom-DatePicker-extension-for-selected-dates/m-p/112547#M7721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if I understood you correctly....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are using Master Calendar dates for this?&lt;/P&gt;&lt;P&gt;How many date fields do you have to select with?&lt;/P&gt;&lt;P&gt;why not just use simple if condition and create a new field and not use continues date field?&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;Use Original Date field and not Master Date field&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;if(OriginalDate&amp;lt;&amp;gt;MasterDate,OriginalDate) as NewDate&lt;/P&gt;&lt;P&gt;In date range filter use NewDate?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 15:05:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Custom-DatePicker-extension-for-selected-dates/m-p/112547#M7721</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2018-08-08T15:05:57Z</dc:date>
    </item>
  </channel>
</rss>

