Affects Version/s: 5.0.15
Fix Version/s: 5.0.16
For a sub-class of Grid, it's impossible to provide its own BeanModel to override the default model in Grid because the method
is package visible.
it would be nice to have that method to be protected to let sub-class of Grid be able to override the default model.
I know a workaround is to make a component to composite the Grid, bind model parameter to a property and copy all the parameters over; but there are so many parameters in Grid component, I don't think it's a good way.
|Affects Version/s||5.0.15 [ 12313429 ]|
|Assignee||Howard M. Lewis Ship [ hlship ]|
|Status||Open [ 1 ]||In Progress [ 3 ]|
|Summary||It's impossible to override default model in subclass of Grid||Grid.defaultModel() should be a protected method so that subclasses can override the default BeanModel logic|
|Issue Type||Bug [ 1 ]||Improvement [ 4 ]|
|Fix Version/s||5.0.16 [ 12313427 ]|
|Status||In Progress [ 3 ]||Closed [ 6 ]|
|Resolution||Fixed [ 1 ]|