
if(CustomField.PluginCustomField.Name == "MyDateTimeField")
{
FarPoint.Win.Spread.CellType.DateTimeCellType myDateTimeFieldCell = (FarPoint.Win.Spread.CellType.DateTimeCellType)GridObject.ActiveSheet.Cells[Row, Col].CellType;
myDateTimeFieldCell.DateTimeFormat = FarPoint.Win.Spread.CellType.DateTimeFormat.ShortDateWithTime;
}



Return to Technical and or Programming
Users browsing this forum: No registered users and 2 guests