Changing column names

Received : 2007/11/07 13:49:51
Message : Is it possible to assign columnnames to a worksheet?


This message was posted using Aspose.Live 2 Forum

Hi,

Thanks for considering Aspose.

Please try:

WebCells cells = GridWeb1.WebWorksheets[0].Cells;
// Creates Custom Header Caption.
cells.SetColumnCaption(0, "Product");
cells.SetColumnCaption(1, "Category");
cells.SetColumnCaption(2, "Price");
Thank you.

Is similar functionality available in the desktop version?

Hi,

No, we will add this functionality for Aspose.Grid.Desktop soon.

Thank you.