When I run the sample code, I found that the servelet always return “ModelAndView” which merged the model and view together. Is it possible to seperate pure data API? We can implement the view using the common UI framework such as Angular.
@AlvinYue
Thank you for your suggestions on the product. We will evaluate the new feature for separating model and view and get back to you soon.
@AlvinYue
For GridWeb, it uses HTML DOM to render and wrap the data, so it seems to merge the model and view together. We have GridJs which separates the model and view completely. Its API always returns a JSON result containing data only. However, it now only supports the .NET platform. Below is an example demo:
We will develop and provide Java version soon for GridJs.