It looks like you're new here. If you want to get involved, click one of these buttons!
Hello,
I need to modify the
value of a field linked to a not visible column of a LMDDBGrid, but
this operation is not possible because of the Assert in the following function:
function
TLMDCustomGrid.DataColToGridCol(ACol: Integer): Integer;
var
i: Integer;
begin
Assert(IsColVisible(ACol));
Result := 0;
for i := 0 to ACol
- 1 do
if
Columns[i].Visible then
Inc(Result);
if opShowIndicator
in Options then
Result := Result
+ 1
else
Result :=
Result;
end;
Is it possible to find a solution?
Thanks,
Cristina
Comments