Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxGridTableOptionsView.ExpandButtonsForEmptyDetails Property

Specifies whether to display expand buttons within master rows that doesn’t have associated details.

#Declaration

Delphi
property ExpandButtonsForEmptyDetails: Boolean read; write; default True;

#Property Value

Type Default
Boolean True

#Remarks

There may be cases when not all or none of master View’s rows have associated details. In this case, you can specify whether to display expand buttons for such rows using the ExpandButtonsForEmptyDetails options. If the option is enabled, all master rows display expand buttons regardless of whether they have details. If disabled, only master rows with associated details display such buttons.

Enabling expand buttons for empty details may be useful if you need to allow end-users to enter detail data manually. For instance, you may enable the new item record for detail Views so that end-users can expand empty details and type in data required.

Note

in grid mode or when binding details to parameterized dataset, you should handle the data controller’s OnDetailHasChildren event to provide this option’s correct behavior.

See Also