Kendo-UI Excel export with header and footer content - excel

I have a requirement with a project for the export of excel documents to contain an excel header and footer.
The header is required to have text and the company logo while the footer needs pagination.
Is this currently possible with the UI framework?
I know we have access to modify/add cells but this wont suffice.
Another option would be to export the data and allow a back end module to process the information but when i do this i lose all the grouping information as all i currently export is the columns and raw data using grid.dataSource.data().toJSON(). Is there a way to export and keep the structure as seen on screen ?

Related

Yii2: Kartik GridView Excel export

Using the great Yii2 extension GridView from Kartik I need to export data in Excel format.
I have tons of data (30.000+ rows) and enabled pagination in the view.
But when exporting to Excel I need to export all rows at once. Is there a configuration option for a full export of all rows and not just the displayed rows in a page?
In general you have to expand the table before exporting the data.
In your case - a lot of rows - it would be better to use the yii2-export-menu extension.
Source: https://github.com/kartik-v/yii2-grid/issues/423

How to extract data from online react-table to csv

I would like to have some way of obtaining the data from NHL.com's stats page which I believe is a react table and has no tag. An example would be the following:
http://www.nhl.com/stats/team?aggregate=1&reportType=game&dateFrom=2017-10-22&dateTo=2017-12-07&gameType=2&filter=gamesPlayed,gte,1&sort=points,wins
I have tried making an Excel query, but the table doesn't show up in Excel's web browser. I tried just manually copy-pasting from the webpage to Excel/Sheets, but all the data is pasted in the first column.
Any way of getting this information to a csv would be appreciated, especially some sort of automated way given a set of filters to pass into the URL.

DataTables export to CSV but maintain styling / force formatting

Using datatables and the tabletools plugin which works.
I am however looking for a way to also export the styling of the table if this is possible?
I am creating an 'online' version of a commonly used excel sheet used in my company. Users keep on messing up the formulae / deleting rows etc and although I can create something much simpler and maintainable in the browser, its needs to be the same styling as before once exported.
Just wondering if this is possible?
I could also use the copy to clipboard feature of tabletools if that helps the case.
CSV is a dumb format. It only knows about data and is not meant to store formatting information.
If you want to preserve the formatting, you need to export your file as XLS or XLSX (or PDF if you don't want people to edit the file).

Dynamic expanding range for excel template

I am an excel user at the most basic level with a programming background who has been put on a nightmare project.
Here is what I need to produce:
Multi-page excel sheet which will be converted to PDF through the use of a third party tool.
Every page will have the same "header and footer", which I "quoted" because they are not in the actual header and footer because they need to reference named ranges on background sheets.
The first page will always be the same static text.
The last three pages will always be the same static text.
The middle pages will contain data from the "background" sheets which contain a bunch of raw data that gets populated every time the user runs the 3rd party tool.
My problem: how do I make these middle pages like a dynamic template where if the data from a report needs to spread to the next sheet this will happen dynamically leaving all the other pages intact?
Should I use an excel template?
Has anybody done anything like the before?
I'll just mention that the reports are coming from Salesforce and third party tool is Drawloop.

Export data into excel sheet - drupal 6

Need to export the web page contents into an excel sheet using drupal 6.
The web page content is coming from a tpl file.
Suggest me a best way to do this.
You haven't provided a lot of detail about what the content is. If you are using the Views module, you may be able to use the Views Excel Export module to export the data to Excel. The Views Bonus Pack module also exports to CSV which can easily be opened in Excel.

Resources