This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.
Modify a not visible column's fieldvalue in a TLMDDBGrid
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