| Name | Type | Default |
|
change
# |
(item?: any) => void
|
null
|
Sets or gets the change function. It is called when a value is changed and the changed item is passed as parameter. The item argument has the following properties: enabled: boolean, encode: boolean, label: string, value: string, cssClass: string and checked: boolean.
import { Component, viewChild } from '@angular/core';
import {
jqxRadioButtonGroupComponent,
jqxRadioButtonGroupModule
} from 'jqwidgets-ng/jqxradiobuttongroup';
@Component({
selector: 'app-root',
imports: [jqxRadioButtonGroupModule],
template: `<jqxRadioButtonGroup #myRadioButtonGroup [change]="(item) => { }">
Check Me Out!
</jqxRadioButtonGroup>`,
styles: [``]
})
export class App {
readonly myRadioButtonGroup =
viewChild.required<jqxRadioButtonGroupComponent>('myRadioButtonGroup');
}
|
|
disabled
# |
boolean
|
false
|
Sets or gets whether the CheckBoxGroup is disabled.
import { Component, viewChild } from '@angular/core';
import {
jqxRadioButtonGroupComponent,
jqxRadioButtonGroupModule
} from 'jqwidgets-ng/jqxradiobuttongroup';
@Component({
selector: 'app-root',
imports: [jqxRadioButtonGroupModule],
template: `<jqxRadioButtonGroup #myRadioButtonGroup [disabled]="true">
Check Me Out!
</jqxRadioButtonGroup>`,
styles: [``]
})
export class App {
readonly myRadioButtonGroup =
viewChild.required<jqxRadioButtonGroupComponent>('myRadioButtonGroup');
}
|
|
items
# |
[]
|
[]
|
Sets or gets the items. Each item could be a string or an object. The object has the following properties: enabled: boolean, encode: boolean, label: string, value: string, cssClass: string and checked: boolean.
import { Component, viewChild } from '@angular/core';
import {
jqxRadioButtonGroupComponent,
jqxRadioButtonGroupModule
} from 'jqwidgets-ng/jqxradiobuttongroup';
@Component({
selector: 'app-root',
imports: [jqxRadioButtonGroupModule],
template: `<jqxRadioButtonGroup
#myRadioButtonGroup
[items]="[
{ label: 'Item 1', value: '1' },
{ label: 'Item 2', value: '2' }
]"
>
Check Me Out!
</jqxRadioButtonGroup>`,
styles: [``]
})
export class App {
readonly myRadioButtonGroup =
viewChild.required<jqxRadioButtonGroupComponent>('myRadioButtonGroup');
}
|
|
value
# |
[]
|
[]
|
Sets or gets the value array. This property determines the checked item(s).
import { Component, viewChild } from '@angular/core';
import {
jqxRadioButtonGroupComponent,
jqxRadioButtonGroupModule
} from 'jqwidgets-ng/jqxradiobuttongroup';
@Component({
selector: 'app-root',
imports: [jqxRadioButtonGroupModule],
template: `<jqxRadioButtonGroup #myRadioButtonGroup [value]="['1']">
Check Me Out!
</jqxRadioButtonGroup>`,
styles: [``]
})
export class App {
readonly myRadioButtonGroup =
viewChild.required<jqxRadioButtonGroupComponent>('myRadioButtonGroup');
}
|
|
layout
# |
string
|
vertical
|
Sets or gets the items layout. It can be 'horizontal' or 'vertical'.
import { Component, viewChild } from '@angular/core';
import {
jqxRadioButtonGroupComponent,
jqxRadioButtonGroupModule
} from 'jqwidgets-ng/jqxradiobuttongroup';
@Component({
selector: 'app-root',
imports: [jqxRadioButtonGroupModule],
template: `<jqxRadioButtonGroup #myRadioButtonGroup [layout]="'horizontal'">
Check Me Out!
</jqxRadioButtonGroup>`,
styles: [``]
})
export class App {
readonly myRadioButtonGroup =
viewChild.required<jqxRadioButtonGroupComponent>('myRadioButtonGroup');
}
|
|
labelPosition
# |
string
|
after
|
Sets or gets the items label position. It can be 'before' or 'after'.
import { Component, viewChild } from '@angular/core';
import {
jqxRadioButtonGroupComponent,
jqxRadioButtonGroupModule
} from 'jqwidgets-ng/jqxradiobuttongroup';
@Component({
selector: 'app-root',
imports: [jqxRadioButtonGroupModule],
template: `<jqxRadioButtonGroup #myRadioButtonGroup [labelPosition]="'before'">
Check Me Out!
</jqxRadioButtonGroup>`,
styles: [``]
})
export class App {
readonly myRadioButtonGroup =
viewChild.required<jqxRadioButtonGroupComponent>('myRadioButtonGroup');
}
|
|
rtl
# |
boolean
|
false
|
Sets or gets a value indicating whether widget's elements are aligned to support locales using right-to-left fonts.
import { Component, viewChild } from '@angular/core';
import {
jqxRadioButtonGroupComponent,
jqxRadioButtonGroupModule
} from 'jqwidgets-ng/jqxradiobuttongroup';
@Component({
selector: 'app-root',
imports: [jqxRadioButtonGroupModule],
template: `<jqxRadioButtonGroup #myRadioButtonGroup [rtl]="true">
Check Me Out!
</jqxRadioButtonGroup>`,
styles: [``]
})
export class App {
readonly myRadioButtonGroup =
viewChild.required<jqxRadioButtonGroupComponent>('myRadioButtonGroup');
}
|
|
theme
# |
string
|
''
|
import { Component, viewChild } from '@angular/core';
import {
jqxRadioButtonGroupComponent,
jqxRadioButtonGroupModule
} from 'jqwidgets-ng/jqxradiobuttongroup';
@Component({
selector: 'app-root',
imports: [jqxRadioButtonGroupModule],
template: `<jqxRadioButtonGroup #myRadioButtonGroup [theme]="'material'">
Check Me Out!
</jqxRadioButtonGroup>`,
styles: [``]
})
export class App {
readonly myRadioButtonGroup =
viewChild.required<jqxRadioButtonGroupComponent>('myRadioButtonGroup');
}
|
|
|
|
|
| Name | Arguments | Return Type |
|
getValue
# |
None
|
|
Gets the value.
import { Component, viewChild } from '@angular/core';
import {
jqxRadioButtonGroupComponent,
jqxRadioButtonGroupModule
} from 'jqwidgets-ng/jqxradiobuttongroup';
@Component({
selector: 'app-root',
imports: [jqxRadioButtonGroupModule],
template: `<jqxRadioButtonGroup #myRadioButtonGroup> Check Me Out! </jqxRadioButtonGroup>`,
styles: [``]
})
export class App {
readonly myRadioButtonGroup =
viewChild.required<jqxRadioButtonGroupComponent>('myRadioButtonGroup');
public ngAfterViewInit(): void {
this.myRadioButtonGroup().getValue();
}
}
|
|
getValueAt
# |
index
|
|
Gets an item value at index.
import { Component, viewChild } from '@angular/core';
import {
jqxRadioButtonGroupComponent,
jqxRadioButtonGroupModule
} from 'jqwidgets-ng/jqxradiobuttongroup';
@Component({
selector: 'app-root',
imports: [jqxRadioButtonGroupModule],
template: `<jqxRadioButtonGroup #myRadioButtonGroup> Check Me Out! </jqxRadioButtonGroup>`,
styles: [``]
})
export class App {
readonly myRadioButtonGroup =
viewChild.required<jqxRadioButtonGroupComponent>('myRadioButtonGroup');
public ngAfterViewInit(): void {
this.myRadioButtonGroup().getValueAt(0);
}
}
|
|
enableAt
# |
index
|
|
Enables an item at index.
import { Component, viewChild } from '@angular/core';
import {
jqxRadioButtonGroupComponent,
jqxRadioButtonGroupModule
} from 'jqwidgets-ng/jqxradiobuttongroup';
@Component({
selector: 'app-root',
imports: [jqxRadioButtonGroupModule],
template: `<jqxRadioButtonGroup #myRadioButtonGroup> Check Me Out! </jqxRadioButtonGroup>`,
styles: [``]
})
export class App {
readonly myRadioButtonGroup =
viewChild.required<jqxRadioButtonGroupComponent>('myRadioButtonGroup');
public ngAfterViewInit(): void {
this.myRadioButtonGroup().enableAt(0);
}
}
|
|
disableAt
# |
index
|
|
Disables an item at index.
import { Component, viewChild } from '@angular/core';
import {
jqxRadioButtonGroupComponent,
jqxRadioButtonGroupModule
} from 'jqwidgets-ng/jqxradiobuttongroup';
@Component({
selector: 'app-root',
imports: [jqxRadioButtonGroupModule],
template: `<jqxRadioButtonGroup #myRadioButtonGroup> Check Me Out! </jqxRadioButtonGroup>`,
styles: [``]
})
export class App {
readonly myRadioButtonGroup =
viewChild.required<jqxRadioButtonGroupComponent>('myRadioButtonGroup');
public ngAfterViewInit(): void {
this.myRadioButtonGroup().disableAt(0);
}
}
|
|
checkAt
# |
index
|
|
Checks an item at index.
import { Component, viewChild } from '@angular/core';
import {
jqxRadioButtonGroupComponent,
jqxRadioButtonGroupModule
} from 'jqwidgets-ng/jqxradiobuttongroup';
@Component({
selector: 'app-root',
imports: [jqxRadioButtonGroupModule],
template: `<jqxRadioButtonGroup #myRadioButtonGroup> Check Me Out! </jqxRadioButtonGroup>`,
styles: [``]
})
export class App {
readonly myRadioButtonGroup =
viewChild.required<jqxRadioButtonGroupComponent>('myRadioButtonGroup');
public ngAfterViewInit(): void {
this.myRadioButtonGroup().checkAt(0);
}
}
|
|
uncheckAt
# |
index
|
|
Unchecks an item at index.
import { Component, viewChild } from '@angular/core';
import {
jqxRadioButtonGroupComponent,
jqxRadioButtonGroupModule
} from 'jqwidgets-ng/jqxradiobuttongroup';
@Component({
selector: 'app-root',
imports: [jqxRadioButtonGroupModule],
template: `<jqxRadioButtonGroup #myRadioButtonGroup> Check Me Out! </jqxRadioButtonGroup>`,
styles: [``]
})
export class App {
readonly myRadioButtonGroup =
viewChild.required<jqxRadioButtonGroupComponent>('myRadioButtonGroup');
public ngAfterViewInit(): void {
this.myRadioButtonGroup().uncheckAt(0);
}
}
|
|
uncheckAll
# |
None
|
|
Unchecks all items.
import { Component, viewChild } from '@angular/core';
import {
jqxRadioButtonGroupComponent,
jqxRadioButtonGroupModule
} from 'jqwidgets-ng/jqxradiobuttongroup';
@Component({
selector: 'app-root',
imports: [jqxRadioButtonGroupModule],
template: `<jqxRadioButtonGroup #myRadioButtonGroup> Check Me Out! </jqxRadioButtonGroup>`,
styles: [``]
})
export class App {
readonly myRadioButtonGroup =
viewChild.required<jqxRadioButtonGroupComponent>('myRadioButtonGroup');
public ngAfterViewInit(): void {
this.myRadioButtonGroup().uncheckAll();
}
}
|
|
checkValue
# |
value
|
|
Checks an item by value.
import { Component, viewChild } from '@angular/core';
import {
jqxRadioButtonGroupComponent,
jqxRadioButtonGroupModule
} from 'jqwidgets-ng/jqxradiobuttongroup';
@Component({
selector: 'app-root',
imports: [jqxRadioButtonGroupModule],
template: `<jqxRadioButtonGroup #myRadioButtonGroup> Check Me Out! </jqxRadioButtonGroup>`,
styles: [``]
})
export class App {
readonly myRadioButtonGroup =
viewChild.required<jqxRadioButtonGroupComponent>('myRadioButtonGroup');
public ngAfterViewInit(): void {
this.myRadioButtonGroup().checkValue('1');
}
}
|
|
uncheckValue
# |
value
|
|
Unchecks an item by value.
import { Component, viewChild } from '@angular/core';
import {
jqxRadioButtonGroupComponent,
jqxRadioButtonGroupModule
} from 'jqwidgets-ng/jqxradiobuttongroup';
@Component({
selector: 'app-root',
imports: [jqxRadioButtonGroupModule],
template: `<jqxRadioButtonGroup #myRadioButtonGroup> Check Me Out! </jqxRadioButtonGroup>`,
styles: [``]
})
export class App {
readonly myRadioButtonGroup =
viewChild.required<jqxRadioButtonGroupComponent>('myRadioButtonGroup');
public ngAfterViewInit(): void {
this.myRadioButtonGroup().uncheckValue('1');
}
}
|
|
disable
# |
None
|
|
Disables the CheckBoxGroup.
import { Component, viewChild } from '@angular/core';
import {
jqxRadioButtonGroupComponent,
jqxRadioButtonGroupModule
} from 'jqwidgets-ng/jqxradiobuttongroup';
@Component({
selector: 'app-root',
imports: [jqxRadioButtonGroupModule],
template: `<jqxRadioButtonGroup #myRadioButtonGroup> Check Me Out! </jqxRadioButtonGroup>`,
styles: [``]
})
export class App {
readonly myRadioButtonGroup =
viewChild.required<jqxRadioButtonGroupComponent>('myRadioButtonGroup');
public ngAfterViewInit(): void {
this.myRadioButtonGroup().disable();
}
}
|
|
destroy
# |
None
|
|
Destroys the widget.
import { Component, viewChild } from '@angular/core';
import {
jqxRadioButtonGroupComponent,
jqxRadioButtonGroupModule
} from 'jqwidgets-ng/jqxradiobuttongroup';
@Component({
selector: 'app-root',
imports: [jqxRadioButtonGroupModule],
template: `<jqxRadioButtonGroup #myRadioButtonGroup> Check Me Out! </jqxRadioButtonGroup>`,
styles: [``]
})
export class App {
readonly myRadioButtonGroup =
viewChild.required<jqxRadioButtonGroupComponent>('myRadioButtonGroup');
public ngAfterViewInit(): void {
this.myRadioButtonGroup().destroy();
}
}
|
|
enable
# |
None
|
|
Enables the CheckBoxGroup.
import { Component, viewChild } from '@angular/core';
import {
jqxRadioButtonGroupComponent,
jqxRadioButtonGroupModule
} from 'jqwidgets-ng/jqxradiobuttongroup';
@Component({
selector: 'app-root',
imports: [jqxRadioButtonGroupModule],
template: `<jqxRadioButtonGroup #myRadioButtonGroup> Check Me Out! </jqxRadioButtonGroup>`,
styles: [``]
})
export class App {
readonly myRadioButtonGroup =
viewChild.required<jqxRadioButtonGroupComponent>('myRadioButtonGroup');
public ngAfterViewInit(): void {
this.myRadioButtonGroup().enable();
}
}
|
|
render
# |
None
|
|
Renders the widget.
import { Component, viewChild } from '@angular/core';
import {
jqxRadioButtonGroupComponent,
jqxRadioButtonGroupModule
} from 'jqwidgets-ng/jqxradiobuttongroup';
@Component({
selector: 'app-root',
imports: [jqxRadioButtonGroupModule],
template: `<jqxRadioButtonGroup #myRadioButtonGroup> Check Me Out! </jqxRadioButtonGroup>`,
styles: [``]
})
export class App {
readonly myRadioButtonGroup =
viewChild.required<jqxRadioButtonGroupComponent>('myRadioButtonGroup');
public ngAfterViewInit(): void {
this.myRadioButtonGroup().render();
}
}
|
|
val
# |
value
|
|
Sets or gets the value.
import { Component, viewChild } from '@angular/core';
import {
jqxRadioButtonGroupComponent,
jqxRadioButtonGroupModule
} from 'jqwidgets-ng/jqxradiobuttongroup';
@Component({
selector: 'app-root',
imports: [jqxRadioButtonGroupModule],
template: `<jqxRadioButtonGroup #myRadioButtonGroup> Check Me Out! </jqxRadioButtonGroup>`,
styles: [``]
})
export class App {
readonly myRadioButtonGroup =
viewChild.required<jqxRadioButtonGroupComponent>('myRadioButtonGroup');
public ngAfterViewInit(): void {
this.myRadioButtonGroup().val();
}
}
|