React-data-grid: Custom column widths (Percentage, minWidth)

Created on 25 Oct 2018  ·  2Comments  ·  Source: adazzle/react-data-grid

⚠️ Not officially supported, expect warnings ⚠️

  • [x] v15.5.x

Which browser are you using?

✅ Officially supported ✅

  • [ ] IE 9 / IE 10 / IE 11
  • [ ] Edge

- [x] Chrome

I'm submitting a ...

  • [ ] 🐛 Bug Report

    - [x] 💡 Feature Request

Hi.

Is there any possibility to set different minColWidth to each column?
Eg. I have 3 cols, and 1st min width - 20px, 2nd - 50px, 3rd - 150px

Is there any way to set width in percentage?
Eg. 20%, 20%, 30%, 30% (for each col)

Is there any way to combine pixel width and percentage width?
Eg. first col - 30%, second 20px, third, 20px, last col 70%
And 100% is calculated like 100% minus all pixel width columns (100% - 20px - 20px)

wontfix

Most helpful comment

I am surprised that percentage column widths are not supported. Surely this should be supported ?

All 2 comments

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please reopen this if you feel it has been incorrectly closed and we will do our best to look into it. Thank you for your contributions.

I am surprised that percentage column widths are not supported. Surely this should be supported ?

Was this page helpful?
0 / 5 - 0 ratings