I need to use XML SDK to create an Excel file. I have done it before with XML SDK but not sure how to dynamically create rows based on the data.
As such, I have the header and footer which are static. For the body, not sure how to dynamically add rows.
Does anybody have a link to where I can understand this further or some sample code.
I am using this with c# by the way.
Thank you in advance.
You have to keep track of row id's and the update row id's for all the rows after the rows that are inserted dynamically. You'll find yourself writing a library to model and write everything. Instead of reinventing the wheel, if it is possible how about using a third party library that has been developed to eliminate this headache, such as ClosedXML http://closedxml.codeplex.com/ ?
Related
I have one scenario in which I have multiple tables to print by creating PDF. For say, I have 4 tables together and the third table is having number of rows resulting in page change. I want to repeat that table's header on the next page also before printing the rows of that specific table. For any table out of 4 tables, if table's data extends to another page, it should repeat the header also for current table on next page. Is that possible in any way?
Any experts, can you please suggest me on this as I am really looking for it.
I am working on node.js to perform this task. Currently using this library-
"html-pdf": "3.0.1"
https://www.npmjs.com/package/html-pdf?activeTab=readme
I have achieved this task perfectly and also with some more advancements in my PDF.
Whosoever is looking for the same, and unable to find any solution, I suggest you to use PdfMake NPM for the same. I have attached playground url of that NPM, where you can test various things and you can start work on your task,.
http://pdfmake.org/playground.html
I am trying to use metadata from an Excel file to use for filtering in our sharepoint libraby.
The excel file already contains dropdown menus to pick certain values from, which are then used to create a very lengthy filename. However for our new sharepoint libraby I would like to move those to metadata, so it can be made visible in sharepoint columns and users can filter.
The file is a template that should be filled by users and when ready saved after choosing certain values.
The creation of the filename is done in VBA and therefore all values I want to use are available there.
I've tried a number of approaches I found in forums using e.g. customdocumentproperties and made it work...sometimes... While it worked in the beginning, I cannot make it work now.
It seems changing the metadata is a problem. Creating the metadata fields for the first time worked, but then changing it, did not. I have the feeling I do not understand some basics on this action. Microsoft websites are not of any help here...
What is the best - flawless - way to use VBA to create, add, change metadata in the excel-file that can be made visiblle in the sharepoint library? And are there any typical problems?
is a possibility to get number of columns in Excel document using Oracle? I can't find even any similar question to this.
You can use the plsql-utils library, the ooxml_utils_pkg package, to open an Excel file and interrogate the contents. You have to know a bit about the file, like how it's laid out to determine what cells to look at to see if they're populated.
I have such xls file generated by jasper:
Bold sum is in <pageFooter> tag. After sorting it mixes up with data:
Is there any opportunity to make footer fields fixed and make them not participating in column sorting?
No, unfortunately not, as this is Excel behaviour not Jasperreports behaviour and can't be controlled by the jasperreports.export configuration.
You could, instead, prevent the footer from being exported and convert the data to a table once in Excel which, although it's a manual step for the end-user, should resolve your problem.
The only other way is to ensure that, once exported to Excel, only the data rows are selected for sorting.
Regards,
I have an excel file with data and need to make this available on web.
The web version of the excel file need to have the following features
Switch between read and edit mode
All cells should be editable at the same time
Inline editing of each cell
Save all cells that have been changed with a single button.
Ability to add and remove rows
Store values in notes document(s)
I have looked at the Dojo Grid JSON REST control in the extension library sample database and it does basically all that I want but I am not happy with the presentation and it seem a bit limited as I later on may need to add other actions to the table cells.
I am looking for an html table version
Which controls should I use to accomplish this? and how can I create a submit button that saves all cells/rows?
Thanks for helping out
Thomas
There is also a project on OpenNTF that gives you a full fledged spreadsheet, that can even load Excel files. It is based on the OpenSource ZK-Spreadsheet
Have a look!
The OpenNTF project was one of the winners in the first OpenNTF contest.
All of those options are possible with the EXTJS grid
You can see some examples here
http://demo.xomino.com/xomino/extjs.nsf
or on the blog
http://xomino.com/extjs
but also check out the examples on the sencha page
http://docs.sencha.com/extjs/4.2.2/extjs-build/examples/