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.
Related
I have several DBISAM Database tables, I can read them and edit them. But when I export the Data to an excel spreadsheet it doesn't export the MEMO fields located in the table. Does anyone know of a way to export the MEMO fields so i do not have to open them individually and copy and paste them to an Excel spreadsheet?
I have googled my problem and have found no solution. There was one solution, to purchase an export tool from a company overseas but the website seemed sketchy to me and I am trying to find a free way to do this.
Elevated software says they cant export MEMO fields because they don't read right when importing to other programs.
I'm hoping someone has found another way...I have Tens of thousands records that I need to export so this would save me a lot of time if there were a way.
After talking with "elevate software" they indicated that this column was incorrectly setup as a memo to store images should have been setup as a BLOB type instead to properly work with images and scans. I copied the needed columns into a new temp table and altered the memo type to BLOB in the new table so as not to disrupt the old table. I then exported this table to mssql via the mssql import export wizard and the images came across correctly. I used an ssis job to then extract those to individual files and can view and work with the images as needed. It may be an extra step to goto mssql and then excel, but might work.
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 ?
I would like to be able to export my grid data as excel files, however as ag-Grid doesn't support this yet I have to come up with my own export function it. The problem I am having is that most of the examples I have seen rely on the fact that the data will be being extracted from an HTML table whereas ag-Grid compiles into <div>s so what would be the best way to write a function to export my data as a .xls or .xlsx file?
Thanks for your time
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).
is there a workaround to use the cfdocument tag to save a page/file as an excel sheet instead of a PDF file?
I already have a process set up to make pdf files and email them out and would like to give my customers the option of getting an excel file instead. It would be nice if I could reuse the code I already have instead of having to rewrite it in POI or something like that.
The type of data witihn a PDF is not usually the same type of data that makes sense for Excel. That being said, there are multiple other ways to create Excel spreadhseets.
In ColdFusion 9, it's native. Just use the cfspreadsheet. In CF8... well, it looks like you have POI. So use that. ;) Ben Nadel also has a nice wrapper for POI so you can consider that too.
The thing is - you will not be able to go from CFDOCUMENT to a spreadsheet since it is really a different type of data.
In ColdFusion 9 use the cfspreadsheet tag and/or spreadsheet functions. That creates a real Excel file.
In ColdFusion 8 and below the easiest way is to use the html table > Excel hack/trick. Put your data in a standard html table, save them in a file with a .xls extension and email them to your users. When the user opens the file Excel will convert the html table to an Excel spreadsheet. You could also send the content to the browser by adding at the top of the page. With this method make sure that you are only sending an html table for best results.