Closed ohthepain closed 1 month ago
Adding showGridlines and/or stripedRows isn't producing any results for me in React.
No response
System: OS: macOS 14.6.1 CPU: (12) arm64 Apple M3 Pro Memory: 198.36 MB / 36.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 22.4.1 - /opt/homebrew/bin/node npm: 10.8.1 - /opt/homebrew/bin/npm Browsers: Chrome: 129.0.6668.71 Safari: 17.6 npmPackages: primereact: ^10.8.3 => 10.8.3 react: ^18.3.1 => 18.3.1 tailwindcss: ^3.4.10 => 3.4.12
Repro steps: Create a table with showGridlines and/or stripedRows. Example:
<DataTable value={data} showGridlines stripedRows removableSort tableStyle={{ minWidth: '50rem' }}> <Column sortable field="name" filter filterPlaceholder="Search by Name" header="Name"></Column> <Column sortable field="componentType" filter filterPlaceholder="Search by Type" header="Component Type"></Column> <Column sortable field="hardwareType" header="Hardware Type"></Column> <Column sortable field="revision" header="Revision"></Column> <Column sortable field="quantity" header="Quantity"></Column> </DataTable>
Observed: Neither (see screenshot)
Expected: Stripes and gridlines
It's a styling issue
Describe the bug
Adding showGridlines and/or stripedRows isn't producing any results for me in React.
Reproducer
No response
System Information
Steps to reproduce the behavior
Repro steps: Create a table with showGridlines and/or stripedRows. Example:
Observed: Neither (see screenshot)
Expected behavior
Expected: Stripes and gridlines