CF datefield - calendar icon doesn't trigger date picker while data is loading - coldfusion

I am using CF input calendar datefield on the very top of a page that renders a huge dataset from a query. The output from this huge query also has some pretty heavy code for each loop iteration. So, I have a very slow loading page.
The problem is - while the heavy data loads (cfflush is used after cfform), the calendar image button is displayed but it doesn't trigger the datepicker overlay until the entire dataset is loaded.
Any thoughts?

Related

Oracle Apex 22.21 - How to refresh multiple regions with one dynamic action

I have two charts on one page. There are also two datepicker items (Date From and Date To) so the user can choose between two dates and get a range of values.
I understand how to implement the datepicker for one chart and it works for me as expected. But how can I have the datepicker refresh the both charts at the same time?
I've found another SO question and followed Daniel's answer to give each region a static id.
So I've added the static id of region1 to the first chart and region2 to the second chart.
Then, I changed the datepicker dynamic action selection type to Javascript Expression and added the following
apex.region('#region1').refresh();
apex.region('#region2').refresh();
But the refresh doesn't fire when I choose a new date.
Daniel's answer in the other question did mention a JS API. Is this something I link up with Apex or is it already included out the box?
How to refresh multiple regions with one dynamic action
I presume/hope that this should do:

How can I display a chart when two different time formats are in Google sheet table

The table in this spreadsheet has Start time (B3:B6), End time (D3:D6) and Total time (C3:C6). Total time is a length of hours, so its unit should not be AM/PM. But when I insert a chart with the Total time formatted without AM/PM displayed, the formatting of the X-Axis starts to include a date (12/29/1899...). Can this be corrected through chart settings or via a formula?
Toggling throught the formatting of C4:C6 changes the display back and forth on the Chart.
The shared spreadsheet is here.
Another related question to customizing the time value is here.

Power BI desktop loading sequence

Is there a way to set up a loading sequence for the elements in a desktop dashboard so that the slicer will always load first even though other elements might still be loading?
(i.e I change 1 slicer filter and the dashboard starts loading. Now I want to change a filter from another slicer, but I have to wait for the changes made from the first slicer to be loaded before seeing the different options to select from in the second slicer)
So I want the slicer to always load first, even though other elements might still be loading (as the slicer only takes 2 seconds to load whereas I need to wait 30 seconds for some matrices)
Any ideas would be greatly appreciated.
Unlike Excel you can't select all filter before the update of the visual.
Each modification of slicer would launch a request for your visuals.
The work around is to create another page with slicer synchronize with the same slicer on your page with visuals and switch on this page when you have properly parametrize your request.

How can I get my PBI report to populate each query result on a new page?

Relative NEWB to PowerBI report builder and have a question about report iteration. Basically, I have a dataset that contains data for 'scorecards'. I want each page of the report to be one 'scorecard'. This corresponds to each row in my dataset query accordingly. I formatted my report accordingly and was anticipating that when I linked each textbox to its corresponding dataset field, when I run the report, I would have a multi-page report; however, I'm only seeing the first query result. I'm assuming this has something to do with the first() function. What am I missing?
edit - I'm basically trying to recreate the functionality of an Access 'report' where each record is displayed on a new report page.
I figured this out - it was staring right in front of me! I needed to add a 'List' data region. I can then design the report and it creates a new page for each record.

Do I need a new dataset each time that I filter by a new date range in Charts.js?

I'm working on time line charts on a project and now I'm adding a date range filter. I'm wondering if to update my charts by the range selected, do I need to execute an ajax getting new datasets or is there someway to simply filtering the start and end date of the currents datasets and update the charts with javascript dynamically?
There's no build-in-function for that in chart.js. But you don't need a new ajax-request. Best way to do is filter your data with Javascript, make new data arrays and display them.