Change with ValuePrepareFunction boolean for a check icon
オープン
- 主要言語
- TypeScript
- スター
- 1.6k
- フォーク
- 867
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Working with a Boolean field shows in the cell a "true" or "false", I want to change it for an image for true and another for false; I use the UsePrepareFunction function but change the final value when reading the source of the table.
I just want to change the presentation of a TRUE or FALSE data without changing the source.
Mi source is.
```
enabled: {
title: 'Activo',
valuePrepareFunction: (value) => {
return value ? '' : '';
},
editor: {
type: 'checkbox',
config: {
true: '',
false: ''
}
},
filter: false,
}
```
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。