tms fnc datagrid component shows in fixed rows as you can see in the attach, what can i do?
Thanks Adrian
tms fnc datagrid component shows in fixed rows as you can see in the attach, what can i do?
Thanks Adrian
Check boxes
and how can i format summary currency value for the total row?
How exactly did you add the checkboxes? For the formatting, You can add a callback to the calculation definition and then set the calculation format
TMSFNCDataGrid1.ColumnCalculations[9, 'Average Fare Price'] := [CreateGroupColumnCalculation(gcmAverage,
procedure(AColumn: Integer; ALevel: Integer; var AOptions: TTMSFNCDataGridDataColumnCalculationOptions)
begin
if ALevel = 1 then
AOptions.CalculationFormat := 'Sub-Average Fare Price: $%.2f'
else
AOptions.CalculationFormat := 'Average Fare Price: $%.2f';
end
)];
Hello,
i have added the checkboxes via the object inspector for the columns of the datagrid as shown in the attach.
Before, i have added the checkboxes in code with a loop throug all the records, but the same result.
Can you provide a small sample demonstrating both issues?