question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

(Bug) Localization for selected Rows not working

See original GitHub issue

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"
  }

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Domino987commented, Nov 13, 2022

Roughly 1.5h ago 😉

0reactions
sairam0903commented, Nov 13, 2022

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why am I not able to select a row … | Apple Developer Forums
I have programmatically set the isUserInteractionEnabled and allowsSelection properties to true and have set the table view cell's isUserInteractionEnabled ...
Read more >
The 'Mark as translated' action does not update the grid if it ...
Hello I want to report bugs of xaf localization tool (see attached video). It doesn't translate several rows (I selected several rows, ...
Read more >
Issues · material-table-core/core - GitHub
Multiselect is not working with tree data by clicking on select all checkbox bug Something isn't working. #683 opened on Nov 24 by...
Read more >
JavaScript Data Grid: Localisation - AG Grid
This is done by providing locale information to the grid for the required language. Either provide an object of key/value pairs via the...
Read more >
IncBL: Incremental Bug Localization - arXiv
a tool for Incremental Bug Localization in evolving software repositories. ... potential potential buggy files for issues tagged as 'bug' or.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found