If I use the griddropdown editor type , it always inherits the width of the column that first called it and then stays at the width. It doesn't matter if I set the DropDownAutoWidth to false and then specify the actual width (GridDropDown.Width = xx) . The first column is narrow and so all the columns in the GridDropDown will not fit. It I call it from the second column , then the width remains that column width, no matter which subsequent column I pick . How to I get the drop down width to not inherit the first column width that called that particular dropdown width.
This shows how you can customize it:
procedure TForm1.AdvStringGrid1GetEditorProp(Sender: TObject; ACol,
ARow: Integer; AEditLink: TEditLink);
begin
advstringgrid1.GridDropDown.DropDownAutoWidth := false;
advstringgrid1.GridDropDown.DropDownWidth := 500;
end;
Hi there
I had tried those settings but the grid drop down stubbornly retains the width of the calling column from the parent grid.
I cannot see such problem here.
Verify you use the latest version and if a problem persists, provide a sample source app with which we can reproduce the problem.