Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.0.15
-
None
-
None
-
All
Description
For a sub-class of Grid, it's impossible to provide its own BeanModel to override the default model in Grid because the method
Binding defaultModel()
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.
Thanks,
Yunhua