because of small documentation i have problems with OpenXml SpreadSheetDocument in C#.
- How to make top row with filter?
- How to make colors to alternate?
- I want to put unicode characters in my SheetData, but when i oppen the excel it gives me an error..
- Change the top row color.
Can you say if there are some proper ways to do this, some more documentation than these available on msdn, or post some StyleSheet code?
Sorry for my english.
Thanks.
I think that your question is really about how to create tables in a spreadsheet. Tables are a cool feature of Open XML / Excel 2007 / 2010 that enable you to sort a range of cells by clicking on column headings. Also they are presented with alternative color bands for rows. There are additional features, such as ability to have a total row, and automatic expansion when you insert a row.
I’ve written a blog post about tables and how to create them: Exploring Table Markup in SpreadsheetML. In addition, I’ve recorded a 15 minute screen-cast that explores the markup, and shows how to create an Open XML SDK program that converts ordinary cells into a table.
-Eric