Skip to content
New issue

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

How do I add a selection box to an aggrid table to select a record instead of clicking on a row? #4604

Open
sx98083714 opened this issue Oct 30, 2024 · 1 comment

Comments

@sx98083714
Copy link

I want to add a check box before each row in the aggrid table and select by clicking on the check box instead of clicking on the row,

After reviewing the aggrid usage documentation, I tried to add the following configuration in extra config, but unfortunately, it didn't work.

{
"defaultColDef": {
"flex": 1,
"minWidth": 100
},
"rowSelection": {
"mode": "multiRow",
"checkboxes": true,
"headerCheckbox": true,
"enableClickSelection": true,
"selectAll": "filtered"
}
}

I have turned off the options that may conflict in the properties of the windmill aggrid table, but it still cannot take effect. There are not many places that aggrid can customize at present, but it is a pity that this only place cannot take effect, who can tell me what I should do?

@sx98083714
Copy link
Author

Such a powerful and useful product, isn't it? Why do so few people communicate with each other?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant