Skip to main content

TcxGridTableOptionsView.ExpandButtonsForEmptyDetails Property

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

Declaration

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