object StockTakeGrid: TUniDBGrid
Left = 16
Top = 306
Width = 729
Height = 337
Hint = ''
CreateOrder = 6
DataSource = DataSource1
Options = [dgEditing, dgTitles, dgIndicator, dgColumnResize, dgColumnMove, dgColLines, dgRowLines, dgAlwaysShowSelection, dgMultiSelect, dgDontReloadAfterEdit]
WebOptions.Paged = False
WebOptions.PageSize = 100000
WebOptions.KeyNavigation = knDisabled
WebOptions.FetchAll = True
WebOptions.RetainCursorOnSort = True
LoadMask.Message = 'Loading data...'
LayoutConfig.Region = 'center'
TabOrder = 3
Exporter.Enabled = True
Exporter.FileName = 'Stocktake'
Exporter.Title = 'Stocktake'
OnKeyDown = StockTakeGridKeyDown
OnClearFilters = StockTakeGridClearFilters
OnSetCellValue = StockTakeGridSetCellValue
OnColumnFilter = StockTakeGridColumnFilter
OnAfterLoad = StockTakeGridAfterLoad
Columns = <
item
FieldName = 'PRODUCTNAME'
Filtering.Enabled = True
Filtering.Editor = UniEdit10
Title.Caption = 'Item Name'
Width = 255
ReadOnly = True
end
item
FieldName = 'QUANTITYTOTAL'
Filtering.Enabled = True
Filtering.Editor = UniEdit12
Title.Alignment = taCenter
Title.Caption = 'Counted'
Width = 80
Color = 1551867
Alignment = taCenter
end
item
FieldName = 'MOVEOUT'
Title.Alignment = taCenter
Title.Caption = 'Move Out'
Width = 80
Color = 1551867
Alignment = taCenter
end
item
FieldName = 'MOVEIN'
Title.Alignment = taCenter
Title.Caption = 'Move In'
Width = 80
Color = 1551867
Alignment = taCenter
end
item
FieldName = 'UNIT'
Filtering.Enabled = True
Filtering.Editor = UniEdit11
Title.Alignment = taCenter
Title.Caption = 'Unit'
Width = 75
Alignment = taCenter
end
item
FieldName = 'ST_COUNTED'
Title.Alignment = taCenter
Title.Caption = 'Adjusted'
Width = 60
Alignment = taCenter
ReadOnly = True
end
item
FieldName = 'STOCKDATE'
Title.Alignment = taCenter
Title.Caption = 'Last Count'
Width = 100
Alignment = taCenter
ReadOnly = True
end
item
FieldName = 'CATEGORIE'
Filtering.Enabled = True
Filtering.Editor = UniEdit14
Title.Alignment = taCenter
Title.Caption = 'Category'
Width = 150
Alignment = taCenter
ReadOnly = True
end
item
FieldName = 'COSTPRICE'
Title.Alignment = taCenter
Title.Caption = 'Cost Price'
Width = 80
Alignment = taCenter
ReadOnly = True
end
item
FieldName = 'RETAILPRICE'
Title.Alignment = taCenter
Title.Caption = 'Retail Price'
Width = 80
Alignment = taCenter
ReadOnly = True
end>
end
Only the quantitytotal column is editable