add: getText
compatibility.
add: `AssetSelector` and `TemplateSelector`. add: `popup-selector` style class. add: `ui.resolvePopup` function. add: `switch` in checkbox. add: `GridColumn.filterTemplate` supports. add: add `action` callback in `createIcon`. change: replace `setTimeout(..., 0)` with `requestAnimationFrame`. change: Popup result structure adjustment ({ result: any, popup: Popup }). change: complete add work order flow. change: reduce Popup title height. fix: Grid column sort in number.
This commit is contained in:
@ -44,6 +44,14 @@ export class GridColumn {
|
||||
* @type {boolean}
|
||||
*/
|
||||
|
||||
/**
|
||||
* 标记该类型是否支持列头批量操作
|
||||
* @member
|
||||
* @name GridColumn.headerEditing
|
||||
* @readonly
|
||||
* @type {boolean}
|
||||
*/
|
||||
|
||||
/**
|
||||
* 创建显示单元格时调用的方法
|
||||
* @param {GridColumnDefinition} col - 列定义对象
|
||||
@ -579,10 +587,12 @@ export class GridCheckboxColumn extends GridColumn {
|
||||
/**
|
||||
* @ignore
|
||||
* @param {Function} trigger
|
||||
* @param {GridColumnDefinition} col
|
||||
* @returns {HTMLElement}
|
||||
*/
|
||||
static createEdit(trigger) {
|
||||
static createEdit(trigger, col) {
|
||||
const check = createCheckbox({
|
||||
switch: col.switch,
|
||||
onchange: trigger
|
||||
});
|
||||
return check;
|
||||
|
Reference in New Issue
Block a user