I'm using SenseDateRangePicker in my application for displaying records for a given date range in a table chart.
I'm facing the following issue while doing that:
If I select the date ranges from the DatePicker for which there are no records exist, ideally the table should display no records and only the column headers.
However it does not work that way. Instead it clears the filter and displays all the records irrespective of the date ranges.
For e.g. let's we have few records which are displayed in the table chart and let's assume we don't have any records for the date range 5th to 10th of this current month.
Now if I select the date range 5th to 10th of this current month in the date-picker, the table chart is loaded with all the records irrespective of the date ranges.
Could you please help me here so that the table displays no records and only the column headers in this scenario?