BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
<input type="text" id="text" />
<input type="button" ej-button id="button" value="Click me" (click)="onClick($event)" /> |
onClick(event) {
var value = $("#text").val()
this.Grid.widget.selectRows(ej.parseInt(value));
} |
<ej-grid [allowPaging]="true" [allowSorting]="true" allowScrolling="true" [scrollSettings]="scrollSettings" [dataSource]="gridData" [allowSearching]="true"
locale="es-ES" #grid> |
export class AppComponent {
…
public scrollSettings = { height: 200, width: 400 };
@ViewChild('grid') Grid: EJComponents<any, any>; |
<ej-grid [allowPaging]="true" [allowSorting]="true" allowScrolling="true" [scrollSettings]="scrollSettings" [dataSource]="gridData" [allowSearching]="true"
locale="es-ES" #grid> |
export class AppComponent {
constructor() {
ej.Pager.Locale["es-ES"] = {
pagerInfo: "{0} de {1} páginas ({2} artículos)"
};
ej.Grid.Locale["es-ES"] = {
GroupDropArea: "Arrastre un encabezado de columna aquí para agrupar su columna"
}; }
onClick(event) {
var value = $("#text").val()
this.Grid.widget.selectRows(ej.parseInt(value));
}
public scrollSettings = { height: 200, width: 400 };
|