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
Provide more variants of getColumn #9920
Comments
When you use the Grid constructor with bean class, the columns are initialised with id being the property name. So What variants would you need in addition to that for your feature request to be considered done? |
I don't know if that was documented somewhere, buy still I feel that it's not intuitive enough.
|
The
Which is a new instance that can't be reliably matched to another instance of For the documentation on the topic, please take a look at Grid - Automatically Adding Columns |
I still believe it's a nice to have feature. One of the major updates in the new Grid was not to rely on any String constants. Guessing and using the member variable of the Bean as a String is not nice. For documentation, I meant JavaDoc for the method, especially the |
Hello there! It looks like this issue hasn't progressed lately. There are so many issues that we just can't deal them all within a reasonable timeframe. There are a couple of things you could help to get things rolling on this issue (this is an automated message, so expect that some of these are already in use):
Thanks again for your contributions! Even though we haven't been able to get this issue fixed, we hope you to report your findings and enhancement ideas in the future too! |
Still a valid issue. |
Hello there! We are sorry that this issue hasn't progressed lately. We are prioritizing issues by severity and the number of customers we expect are experiencing this and haven't gotten around to fix this issue yet. There are a couple of things you could help to get things rolling on this issue (this is an automated message, so expect that some of these are already in use):
Thanks again for your contributions! Even though we haven't been able to get this issue fixed, we hope you to report your findings and enhancement ideas in the future too! |
Still an issue. |
* Updated JavaDoc of getColumn(..) method Fixes #9920
* Updated JavaDoc of getColumn(..) method Fixes #9920
* Updated JavaDoc of getColumn(..) method Fixes #9920
Vaadin version: 8.1.x
Description of the bug: (Feature Request)
Provide better API to retrieve already generated columns.
If possible, minimal reproducible example:
Sometimes I use the Grid initializer API that generates all the columns:
Grid<Bean> grid = new Grid<>(Bean.class);
But at this point, I'm unable to retrieve and modify those columns. The only available
getColumn
API takescolumnId
as a parameter.Alternatively, I have to manually create all the columns manually. I want a combination of both features.
Thanks!
The text was updated successfully, but these errors were encountered: