rsuite / rsuite-table

A React table component.
https://table.rsuitejs.com/
MIT License
723 stars 133 forks source link

Bug with resizing the first column in the Column Group #421

Open KulovacNedim opened 1 year ago

KulovacNedim commented 1 year ago

Versions

package version
react 17.0.1
rsuite-table 5.10.3

What is the expected behavior?

What is the current behavior?

If you look at this example https://table.rsuitejs.com/#column-group you'll notice that the firstName column is not resizable and should be since it has the resizable prop, right?

The same is in my project - see react and rsuite-table versions above ☝️

Sean-He-HXH commented 9 months ago

I red the code, in the getTableColumns file, the when the group children column index is 0, the resizable set to false, I'm wondering what is the reason? And when will you open the the resizable function for first column? image

KulovacNedim commented 8 months ago

And when will you open the the resizable function for first column?

Whenever I need it 😄

Honestly, PR was opened 9 months ago (!), I can't remember why I needed it anymore. But I had a use-case, otherwise I wouldn't have thought of it at all.

I don't need it anymore. The library is yours - if you don't want to support it, I'm fine with that 👍