How to add Column Calculations from a pagination call with ajax for Tabulator? - tabulator

When using loading data from ajax, the Column Calculations functions are no longer correct for remote pagination. So how can I show the calculated data from the server into the footer via an ajax call?
Or is there any other solutions for it?
I'm thinking of assigning the data received from the ajaxResponse callback function, but I can't use the data from this function for Column Calculations custom functions

Related

How to perform an action on a page of rows loaded via AJAX

I'm trying to act on a page of rows after they are loaded into the table via AJAX from a remote source. In this case, the goal is to select rows based on some application logic.
The comment here suggests that the dataLoaded event should be used for this:
When the dataLoaded callback is triggered after data is loaded. You could then use the
getRows function on the table to get an array of all the rows, iterate over them, check
if they should be selected then call the select function on the row component.
However, the rows appear to be unavailable in this event. This has been confirmed as by-design:
This is correct behaviour, as the documentation states this is called before the data is
processed into row components, so there aren't the row components to return
I have also tried the pageLoaded event, however, the rows are not available in this event either.
What event or callback can I use to iterate through the rows of a page in the table after they are loaded/processed?
I have a CodePen as an example of what I'm trying to do here.
It turns out there was a clue in the author's confirmation of the behaviour of the dataLoaded event.
The dataProcessed event fires after the rows are created and contains the expected rows for that page.

How do we pass parameters to responsive table filters from python?

I want to scrape a responsive table that has two filters, one for a simple text search and the other for number of rows displayed per page.
Is it possible to pass parameters to the filters through my request?
That table is filtered client side only. So that means all the data is already there, but just hidden. To get all the rows you can simply use one of:
response.css('#proxylisttable tbody tr')
response.xpath('//table[#id="proxylisttable"]/tbody/tr')
If you want to interact with the form you will need to use Scrapy Splash in order to execute the Javascript necessary to do the filtering.

Give Input to AJAX Calendar by using EXCEL VBA?

I have a requirement where I am trying to give input to a drop down box that in turn gets the input from an AJAX Calendar in the website. Here, the drop down only accepts the data from the AJAX Calendar. Hence is there a way I can choose the required date in the AJAX Calendar by using Excel VBA? How can I pass the input to the AJAX calendar so that that particular date can be picked(clicked)?

How to create custom input/output functions in Microsoft graph (excel) api?

I am trying to use Microsoft graph api with excel.
I have a spreadsheet with pre-filled data and some calculations.
For Example :
Cells A1 to A10 has some data
Cell B1 is an input field
Cell C1 is an output field whose value is a functions of A:1 to A:10
and B1 ex: C1 = SUM(A1:A10)/B1
Is is possible to use Microsoft graph API(or any other api) to send the input data in the form on HTTP request parameter and get the result as the response of the request ?
An Ideal request-response would look something like :
http://path-to-workbook/path-to-response-data?parameterB1=someNumericValue
Response:
{
C1: <result of calculation>
}
Is there a way to achieve such functionality useing graph API ?
Anything similar or helpful response/resources will be appreciated.
Just use the update range api if your need simple logic, set the formula in request body to = SUM(A1:A10)/B1
If you need Complex IO processing, Graph API for excel is not intent to I/O operation except the Report now, so you need to submit an feature request in the uservoice for this.
Actually, there are a possible API in Graph(Just idea, not test this), it is the OneDrive API, while you modify the Excel file, send the data to a custom NET api service to calculate and then use the Drive api update the file

How to add variables (coming from a cell) in web queries in MS Excel 2010?

So, I have the excel sheet pulling data from web API call, which responds in xml format. I can successfully pull it, populate it, and work with it. And since it's a get call with some parameters appended to the query, I want those parameters to come from a cell in a separate sheet (in the same workbook) so that the user can change the cell instead of the query itself.
Is it possible? How do I do it? Will it make a new API call to get the data when the content of that cell is modified or does the user have to click on Refresh?
Thanks in advance!
UPDATE: I have tried to use something like this: http://finance.yahoo.com/q?s=[“symbol”, “Enter ticker symbol”] like defined here, but when I click Import, it gives me 404 and I just can't figure out how to do it.
The API call I'm making is to our Redmine machine and I'm using this Redmine API call

Resources