This code adds a column, but I can't work out how to populate it.
- Code: Select all
if (JiwaForm is JiwaFinancials.Jiwa.JiwaBillOfMaterialsUI.WorkOrder.WorkOrder)
{
JiwaFinancials.Jiwa.JiwaBillOfMaterialsUI.WorkOrder.WorkOrder woForm = (JiwaFinancials.Jiwa.JiwaBillOfMaterialsUI.WorkOrder.WorkOrder) JiwaForm;
woForm.InputsJiwaGrid.AddColumn("LineTotal", new JiwaFinancials.Jiwa.JiwaApplication.JiwaManageGrid.JiwaCurrencyCellType(), "LineTotal",8,false,true,true,true,8,false,false,2,false,false);
}
I don't need the line total to be saved to the database, I just need it as a calculated column to display on screen.
Can you suggest how I could populate it?