-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
DataTable: showHeaders={false}
option
#4337
Comments
@rpspall what component is DataGrid? I only see DataTable and DataView? If you mean Datatable each column has a Or do you mean you only want to hide the column header? If so simply do |
Example showing column headers being hidden: https://stackblitz.com/edit/react-aea48y |
I want to hide the Column Header, and the solution you provide is very simple - thank you... Really don't want to sound ungrateful as that solution works well, but... It would still be nice to have a single flag for the entire grid that states "hideColumnHeaders"! Developer / API usability is often overlooked or traded off for functionality! Based on the "Don't Repeat Yourself" principal, why should I have to configure each column to hide its header (repetition), when it only makes sense to hide all column headers or no column headers :-) Again, thank you for the solution. |
Agreed this seems like a reasonable setting. |
showHeaders={false}
option
OK PR submitted this is better because it prevents even rendering the |
Describe the feature you would like to see added
Would like a DataGrid attribute that simply says "Hide Headers" or maybe on an individual column (but that doesn't make sense as I would have to add multiple times
The text was updated successfully, but these errors were encountered: