DWR Loader

Extension » DWR Loader

Include 'dwrloader.js'

To using DWR to get data for easyui, include 'dwrloader.js' file first.

Assign DWR method to 'url' property

As the default json loader, the 'url' property indicate the remote URL to retrieve json data. While using DWR loader, we should assign a function to 'url' property to retrieve data from DWR. Below is the example that show how to display a datagrid by using dwr loader:

The Java test code

Download the EasyUI Extension: