Sets/gets if the item group is disabled
const myDropDownGroup: IgxDropDownGroupComponent = this.dropdownGroup;
// get
...
const groupState: boolean = myDropDownGroup.disabled;
...
//set
...
myDropDownGroup,disabled = false;
...
<igx-drop-down-item-group [label]="'My Items'" [disabled]="true">
<igx-drop-down-item *ngFor="let item of items[index]" [value]="item.value">
{{ item.text }}
</igx-drop-down-item>
</igx-drop-down-item-group>
NOTE: All items inside of a disabled drop down group will be treated as disabled
Sets/gets the label of the item group
const myDropDownGroup: IgxDropDownGroupComponent = this.dropdownGroup;
// get
...
const myLabel: string = myDropDownGroup.label;
...
// set
...
myDropDownGroup.label = 'My New Label';
...
<igx-drop-down-item-group [label]="'My new Label'">
...
</igx-drop-down-item-group>
The
<igx-select-item>
is a container intended for row items in a<igx-select>
container.