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
Currently, the command columns's attr setting does not accept a function handler. Similar to how it can be set for the column.attributes.
Preventing the following initialization definition:
$("#grid").kendoGrid({ columns: [ { field: "name" }, { command: [ { attr: (data) => {return {title: "Some Test"}}, name: "destroy", text: "Remove" } ] } ], ... });
As demonstrated in this dojo.
Preserving the aforementioned initialization will produce the following result:
Preserving the aforementioned initialization should serialize the passed attributes accordingly:
The text was updated successfully, but these errors were encountered:
alestoya
No branches or pull requests
Overview
Currently, the command columns's attr setting does not accept a function handler. Similar to how it can be set for the column.attributes.
Preventing the following initialization definition:
As demonstrated in this dojo.
Current behavior
Preserving the aforementioned initialization will produce the following result:
![image](https://private-user-images.githubusercontent.com/92315320/341834861-a74f9004-f49b-4053-b289-cc5067a603aa.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk2NTgzMTcsIm5iZiI6MTcxOTY1ODAxNywicGF0aCI6Ii85MjMxNTMyMC8zNDE4MzQ4NjEtYTc0ZjkwMDQtZjQ5Yi00MDUzLWIyODktY2M1MDY3YTYwM2FhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI5VDEwNDY1N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgxYTM4MzQ3MzQ4MzNhMTMwMjlkNDA2YzEzMDlmZGE2OGZiYWRlYzYwYjU3ZDAyYzkzNDRmMGIzZmIzYzQ0MGEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.nAqt1YzQnjrgpsEdQITZv3TQSEWY2GCUybvtrzrPYso)
Expected/desired behavior
Preserving the aforementioned initialization should serialize the passed attributes accordingly:
Environment
The text was updated successfully, but these errors were encountered: