We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Forum post
Adding the following configuration to add a custom field, when changing the value, the value is not displayed correctly.
features : { taskEdit: { items: { resourcesTab: { items: { grid: { columns: { data: { titleLevel: { text: "SEVİYE", field: "titleLevelId", renderer: (props) => { // display the name in the cell const value = props.column.editor.store.data.find( (item) => item.id === props.value ); return value?.name; }, editor: { type: "combo", valueField: "id", displayField: "name", required: true, store: { idField: "id", data: [{id:1, name:"test 1"}, {id:2, name:"test 2"}], }, }, }, }, }, }, }, }, }, }, },
The text was updated successfully, but these errors were encountered:
Correct code should be:
renderer: (props) => { // display the name in the cell const value = props.column.editor.store.data.find( (item) => item.id === props.value ); return value?.name || ''; },
Sorry, something went wrong.
No branches or pull requests
Forum post
Adding the following configuration to add a custom field, when changing the value, the value is not displayed correctly.
The text was updated successfully, but these errors were encountered: