Library Vcl NextSuite 6 NextGrid6 Reference Classes TNxColumnHeader ShowButton

ShowButton

Specifies whether drop-down button will be shown inside column header.

pas
published
  property ShowButton: Boolean read FShowButton write SetShowButton default False;

Remarks

By default, clicking on this button open filtering options popup, but developer can override OnHeaderButtonClick event of column to open custom popup.

Example

pas
procedure TForm1.NxTextColumn61HeaderButtonClick(Sender: TObject; X, Y: Integer;
  var Accept: Boolean);
begin
  Accept := False;
  PopupMenu1.Popup(X, Y);
end;

Sign in