import { ElementRef } from '@angular/core'; import { SelectedRowContext } from '../entity/index'; import { GridComponent } from '@progress/kendo-angular-grid'; /** * 多选列表工具类 */ export declare class MultiSelectGridUtility { static CURRENT_ROW_STYLE_NAME: string; static CHECKBOXED_ROW_STYLE_NAME: string; /** * 渲染切换行 */ static renderClickChangedRow(gridComponent: GridComponent, selectedRowContext: SelectedRowContext): void; /** * 检查当前行索引值和上一个选中行索引值的相对当前页面的索引值是否相同 */ private static checIfIsSameRelativeIndex; /** * 检测是否启用分页功能 */ static checkIfEnablePaging(gridComponent: GridComponent): boolean; /** * 渲染checkbox选择 */ static renderSelectedChangeCheckbox(elementRef: ElementRef, $event: any): void; /** * 添加行的“已选中样式” * 暂无需求,不对外暴露 */ private static addRowSelectedStyle; /** * 移除行的“已选中样式” * 需求:kendo-grid在分页时,不会移除已选中样式 */ static removeRowSelectedStyle(gridComponent: GridComponent, rowIndex: number): void; /** * 获取指定行在当前页面对应的行元素 */ private static getRelativeRowInCurrentPage; /** * 获取当前grid的tr集合 */ private static getTrCollection; /** * 向元素的指定属性追加值 */ private static appendAtrributeValue; /** * 移除元数据指定属性的特性属性值 */ private static removeAttributeSpecificValue; }