henrybuilt / react-sticky-table

Responsive and dynamically-sized fixed headers and columns for tables
https://henrybuilt.github.io/react-sticky-table/
MIT License
214 stars 57 forks source link

Full width table #112

Closed AthulNair closed 3 years ago

AthulNair commented 3 years ago

Is it possible to make the table full width even if the no of columns are less. I am using this with bootstrap.

maxhudson commented 3 years ago

You can probably give your .stick-table-cell width: 100% or width: 33% etc

Css flex would be the most natural way to do this normally which you can apply here if you’re fluent in it

On Thu, Nov 26, 2020 at 4:41 AM Athul Nair notifications@github.com wrote:

Is it possible to make the table full width even if the no of columns are less. I am using this with bootstrap.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/henrybuilt/react-sticky-table/issues/112, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB4MRJ4ARKAGCDE7RBQDWHLSRZEGVANCNFSM4UDV2O5Q .

AthulNair commented 3 years ago

.sticky-table-table{ width: 100%; } This worked for me. Thanks @maxhudson

maxhudson commented 3 years ago

👍