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

(Bug) Localization for selected Rows not working #660

Closed
sairam0903 opened this issue Nov 8, 2022 · 5 comments
Closed

(Bug) Localization for selected Rows not working #660

sairam0903 opened this issue Nov 8, 2022 · 5 comments

Comments

@sairam0903
Copy link

I have a table as below and I am on @material-table/core: 0.2.52 version

<MaterialTable
      isLoading={loading}
      title=""
      columns={[
        {title: 'Track', field: 'track'},
        {title: 'Tier', field: 'tier'},
        {title: 'Architecture', field: 'architecture'},
        {title: 'Archtier', field: 'archtier'},
        {title: 'Lifecycle State', field: 'lifeCycleState'},
      ]}
      data={data}
      options={{
        selection: true,
        rowStyle: {
          fontSize: '14px'
        }
      }}
      localization={{
        toolbar: {
          nRowsSelected: '{0} application(s) selected'
        },
        body: {
          emptyDataSourceMessage: `No applications found with owner email ${selectedEmail}`
        }
      }}
      onSelectionChange={(rows) => onSelect(rows)}
    />

When I select all or individual row checkbox, I should see something like this below (Screenshot from using (https://github.com/mbrn/material-table)
Screen Shot 2022-11-08 at 8 17 34 AM

But I am seeing nothing
Screen Shot 2022-11-08 at 8 18 17 AM

am I missing any options here?

My dependencies in package.json

  "dependencies": {
    "@emotion/react": "^11.10.4",
    "@emotion/styled": "^11.10.4",
    "@material-table/core": "^0.2.52",
    "@mui/icons-material": "^5.10.6",
    "@mui/lab": "^5.0.0-alpha.100",
    "@mui/material": "^5.10.6",
    "axios": "^0.27.2",
    "filefy": "^0.1.11",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "react-google-charts": "^4.0.0",
    "react-router-dom": "^6.4.0",
    "react-scripts": "^5.0.1",
    "sass": "^1.54.9"
  }
@sairam0903 sairam0903 changed the title Localization for selected Rows not working (Bug) Localization for selected Rows not working Nov 10, 2022
@sairam0903
Copy link
Author

@DominikEngel can you help with this issue?

@Domino987
Copy link
Contributor

Hi ill look into it, was away for two weeks and now I am back.

@Domino987
Copy link
Contributor

Will be fixed in next verison

@sairam0903
Copy link
Author

Thanks for taking care of it. When can I expect this to be released?

@Domino987
Copy link
Contributor

Roughly 1.5h ago ;)

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

2 participants