クラス IgxTreeGridCellComponent

階層

Index

コンストラクタ

constructor

  • new IgxTreeGridCellComponent(selectionService: IgxGridSelectionService, gridAPI: GridBaseAPIService<IgxGridBaseDirective & GridType>, cdr: ChangeDetectorRef, element: ElementRef<any>, zone: NgZone, touchManager: HammerGesturesManager, document: any, platformUtil: PlatformUtil): IgxTreeGridCellComponent

プロパティ

activeHighlightClass

activeHighlightClass: string = 'igx-highlight__active'

セルの強調表示クラスを取得または設定します。 デフォルト値は "igx-highlight__active" です。

let activeHighlightClass = this.cell.activeHighlightClass;
this.cell.activeHighlightClass = 'igx-cell-highlight_active';
@次のメンバー:

IgxGridCellComponent

cdr

cdr: ChangeDetectorRef

cellTemplate

cellTemplate: TemplateRef<any>

セルのテンプレートを取得または設定します。

<ng-template #cellTemplate igxCell let-value>
  <div style="font-style: oblique; color:blueviolet; background:red">
      <span>{{value}}</span>
  </div>
</ng-template>
@ViewChild('cellTemplate',{read: TemplateRef})
cellTemplate: TemplateRef<any>;
this.cell.cellTemplate = this.cellTemplate;
let template =  this.cell.cellTemplate;
@次のメンバー:

IgxGridCellComponent

column

column: ColumnType

セルの列を取得します。

 let cellColumn = this.cell.column;
@次のメンバー:

IgxGridCellComponent

document

document: any

editMode

editMode: boolean = false

セルが編集モードにあるかどうかを返します。

formatter

formatter: function

セル フォーマッタを取得します。

let cellForamatter = this.cell.formatter;
@次のメンバー:

IgxGridCellComponent

Type declaration

    • (value: any): any
    • パラメーター

      • value: any

      返却 any

gridAPI

gridAPI: GridBaseAPIService<IgxGridBaseDirective & GridType>

highlightClass

highlightClass: string = 'igx-highlight'

セルの強調表示クラスを取得または設定します。 デフォルト値は "igx-highlight" です。

let highlightClass = this.cell.highlightClass;
this.cell.highlightClass = 'igx-cell-highlight';
@次のメンバー:

IgxGridCellComponent

indentationDiv

indentationDiv: ElementRef<any>

indicator

indicator: ElementRef<any>

pinnedIndicator

pinnedIndicator: TemplateRef<any>

role

role: string = 'gridcell'

セルの role プロパティを取得または設定します。 デフォルト値は "gridcell" です。

this.cell.role = 'grid-cell';
let cellRole = this.cell.role;
@次のメンバー:

IgxGridCellComponent

rowData

rowData: any

セルの行のデータを取得します。

let rowData = this.cell.rowData;
@次のメンバー:

IgxGridCellComponent

value

value: any

セル値を取得または設定します。

this.cell.value = "Cell Value";
let cellValue = this.cell.value;
@次のメンバー:

IgxGridCellComponent

width

width: string = ''

セルの幅を取得します。

let cellWidth = this.cell.width;
@次のメンバー:

IgxGridCellComponent

アクセサー

ariaSelected

  • get ariaSelected(): boolean

attrCellID

  • get attrCellID(): string

booleanClass

  • get booleanClass(): any

cellID

  • get cellID(): object

colEnd

  • get colEnd(): number

colStart

  • get colStart(): number

columnIndex

  • get columnIndex(): number

columnSelected

  • get columnSelected(): boolean

context

  • get context(): any

editValue

  • get editValue(): any
  • set editValue(value: any): void

editable

  • get editable(): boolean

grid

  • get grid(): any

gridColumnSpan

  • get gridColumnSpan(): number

gridID

  • get gridID(): any

gridRowSpan

  • get gridRowSpan(): number

nativeElement

  • get nativeElement(): HTMLElement

pinnedIndicatorTemplate

  • get pinnedIndicatorTemplate(): TemplateRef<any>

readonly

  • get readonly(): boolean

row

rowEnd

  • get rowEnd(): number

rowIndex

  • get rowIndex(): number

rowStart

  • get rowStart(): number

selected

  • get selected(): boolean
  • set selected(val: boolean): void

template

  • get template(): TemplateRef<any>

title

  • get title(): any

visibleColumnIndex

  • get visibleColumnIndex(): number
  • set visibleColumnIndex(val: number): void

メソッド

clearHighlight

  • clearHighlight(): void

highlightText

  • highlightText(text: string, caseSensitive?: boolean, exactMatch?: boolean): number

isCellSelected

  • isCellSelected(): boolean

setEditMode

  • setEditMode(value: boolean): void

update

  • update(val: any): void