Ok, thanks.
My use case is to display a field (inttime) that contains seconds since midnight as a time string.
I created a sample in C# following https://www.infragistics.com/help/winforms/wincalcmanager-creating-a-calculated-column-in-wingrid
The resulting C# code for a calculated column isInfragistics.Win.UltraWinGrid.UltraGridColumn.
ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("UnboundColumn1", 0);
// ultraGrid1
this.ultraGrid1.CalcManager = this.ultraCalcManager1;
this.ultraGrid1.DataSource = this.ultraDataSource1;
ultraGridColumn1.Header.VisiblePosition = 0;
ultraGridColumn2.Header.VisiblePosition = 1;
ultraGridColumn3.Formula = "dateadd('s',[inttime], today())";
ultraGridColumn3.Format = "hh:mm";
ultraGridColumn3.Header.VisiblePosition = 2;
I'll see how we can best integrate this into our BrowseRenderer
Last modified on 11 Jul 2019 13:07 by Carl Verbiest