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

Batch Action is not correctly working in Data Table #4550

Closed
1 of 2 tasks
rasiripi opened this issue Nov 4, 2019 · 1 comment
Closed
1 of 2 tasks

Batch Action is not correctly working in Data Table #4550

rasiripi opened this issue Nov 4, 2019 · 1 comment
Labels

Comments

@rasiripi
Copy link

rasiripi commented Nov 4, 2019

On select of Batch Action disabled rows are also selecting

What package(s) are you using?

  • carbon-components
  • carbon-components-react

Detailed description

Describe in detail the issue you're having.
We are using Data Table with Batch Action and our data contains disabled rows.When we select the Header Checkbox for batch delete , all the rows selecting including disabled rows.The expected behaviour is it should not select the disabled rows.Can you please have a look at the attached screen shot and fix this issue on priority besis.

Is this issue related to a specific component?
Yes. Carbon-Component-react DataTable

What did you expect to happen? What happened instead? What would you like to
see changed?
Our Expectation is not to select disabled rows and only select that are enabled

What browser are you working in?
Chrome,FireFox and Edge

What version of the Carbon Design System are you using?
7.7.0
What offering/product do you work on? Any pressing ship or release dates we
should be aware of?
I am working on App Connect Porfessional and we have realese in another 15 days

Steps to reproduce the issue

  1. Use DataTable to display with some rows disabled

Please create a reduced test case in CodeSandbox

Additional information

DataTable_After_BatchAction_Select
DataTable_Before_BatchAction

  • Screenshots or code
  • Notes
@asudoh
Copy link
Contributor

asudoh commented Mar 19, 2020

Seems not reproducible by adding disabled property to one of the array items in table row data. Also there is a code for checking the exact condition.

If anybody sees it's still reproducible good to have a reduced case based on our template. Thanks!

@asudoh asudoh closed this as completed Mar 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants