Skip to content

TDBControlGrid question/Issue #2

@patyigit

Description

@patyigit

Hi !

Theoretically, can TDBControlGrid be used with other DataSets (e.g. Zeos8) and not just IBX ?
I have a project that was implemented with Zeos8, now I need to make a small extension, TDBControlGrid would be ideal for this.
I created the form, everything is nice and good, but I can't create a new record inside the TDBControlGrid, it only flashes one and jumps back to the first record.

I tried the following, but it doesn't work either :

procedure TForm.DBNavigator1Click(Sender: TObject; Button: TDBNavButtonType);
begin
  if Button = nbInsert then begin
    ZQuery.Append;
    ZQuery.Post;
    ZQuery.Last;
  end;
end;

TDBControlGrid.Options := [dgpIndicator] // dgpDisableInsert is not in it !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions