How can I custom a column? Column A, for example:
1. Change heading from "A" to "Mac Address"2. Define the column NumberFormat, a 32bit integer, it can be modifed and displayed in "255.255.255.1" text format.
Thank you.
Hello Linden,
After looking into this and doing some research, "Change heading" has been determined to be a new product idea. You can suggest new product ideas for future versions (or vote for existing ones) at http://ideas.infragistics.com.
There are many benefits to submitting an product idea:
- Direct communication with our product management team regarding your product idea.
- Notifications whenever new information regarding your idea becomes available.
- Ability to vote on your favorite product ideas to let us know which ones are the most important to you. You will have ten votes for this and can change which ideas you are voting for at any time.
- Allow you to shape the future of our products by requesting new controls and products altogether.
- You and other developers can discuss existing product ideas with members of our Product Management team.
Steps to create your idea:
The Product Idea site puts you in the driver’s seat and allows you to track the progress of your ideas at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
As for the formatting, you can either change the format in the excel you load or you can use the Workbook class and access a specific column like this:
Workbook wb = Workbook.Load("myExcelfile.xlsx"); wb.Worksheets[0].Columns[0].CellFormat.FormatString = "my format";
and set its FormatString Property.
Thank you for contacting Infragistics.
If just pure text, it's simple.
wb.Worksheets[0].Columns[0].CellFormat.FormatString = "??#.??#.??#.??#";
But I want the cell is a number background, just display and edit in 255.255.255.2 format.
Just FormatString property can do this? If so, could you please give me an example?
If a cell can be set as masked input or regex input, it's fine, does XamSpreadsheet support?
If you set the FormatString to 000"."000"."000"."0 the numbers in the cells will be formatted as you want.