Comments (7)
Another way is to let data be a json and then only display the elements that are in columns.
from mui-datatables.
@jkantr I'm fine again making another breaking change considering this package is still in beta. My vote is for the string enum without doing a type check.
enum('true', 'false', 'excluded')
from mui-datatables.
I will look to take this up next and go with the proposed enum solution listed above
from mui-datatables.
Can I put in another vote for this?
I'd really like to be able to able to get the index in the original list I passed in of a row (after being sorted). One way to do that would be to have a hidden index column, since "rowIndex" is currently the new index after sorting. What are your thoughts?
from mui-datatables.
This feature is now available in the latest published version
from mui-datatables.
Awesome, thanks! I'll take a look.
from mui-datatables.
@gregnb Thanks so much for making this library, it's been a lifesaver! Just curious if there is any enum option for this other use case the original requester mentioned?
"display a column that a user can not hide."
I have a situation where I have a column that I render with my table, the display opt is set to true so it can't be hidden, but it still shows up in the column view toggle list.
from mui-datatables.
Related Issues (20)
- how to customize the inbuilt filter function to Cascading Dropdown
- custom filter, removed chip provide wrong `filterPos` when its value is 0 HOT 1
- An option to modify delete icon?
- Pagination Rows per Page resetting itself after clicking on custom button in column HOT 6
- Column Drag not working HOT 3
- in customHeadRender only 1 column needs to sort and not remaining elements HOT 1
- Link on github front page is malicious HOT 1
- Not wroking
- muidatatable scroll bar reset
- Not able to hide expander icon from specific rows
- Why are all the examples broken? HOT 1
- Print only appeared content rows with tableBodyMaxHeight applied
- Twitching while dragging columns
- Bad typing on MUIDataTableOptions renderExpandableRow - rowData
- Responsivenes Stacked not working
- setCellProps and setCellHeaderProps not working in mobile
- Customizing the contents of a chip label
- Cant search data with children having array of objects
- how to filter an date column by month
- States are not updating in customBodyRender
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mui-datatables.