I'm creating unidbgrid and it's partially working, I'm not able to set the Filtering.editor property to below the code I'm doing.
Grade.Columns.Clear; Grade.Columns.BeginUpdate; tmpCons.first; while not tmpCons.eof do begin with Grade do begin with Columns.Add do begin FieldName := tmpCons.fieldbyname('campo').asstring; Title.Caption := tmpCons.fieldbyname('titulo').asstring; Width
Hi,
It can be added in the next versions..
Can you try this approach for now ?!:
type
TExUniCustomDBGrid = class (TUniCustomDBGrid)
end;
procedure TMainForm.UniButton1Click(Sender: TObject);
begin
// clear filters
UniDBGrid1ClearFilters(UniDBGrid1);
UniDBGrid1.Columns[1].Filtering.Enabled := False;
TExUniCustomDBGrid(UniDBGrid1).DoConfigureJSColumns(UniDBGrid1.DataSource.DataSet);
end;
Best regards,