EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: Max Lamda on November 23, 2015, 05:44:11 AM



Title: Datagrid Load direct
Post by: Max Lamda on November 23, 2015, 05:44:11 AM
Hi,

I load a new Tab via Ajax, the tab contains a datagrid.

The datagrid fetches the data via ajax. This leads to two loading-processes inthe application.

When I create the tab on the serverside, I could easily prefill the datagrid with the right values and only reload the data on any application triggered event manually.

Is there any possibility to set the ajax-URL for the datagrid without automatically loading the data via ajax?

I would simply like to create it with full data and then use it, as if I loaded the data via ajax (which it then shall do)?




Title: Re: Datagrid Load direct
Post by: Max Lamda on November 23, 2015, 06:59:29 AM
Just some info:

If I use the  'onLoadSuccess'-property without assigning an URL, the datagrid breaks while contruction without any visible errors in the console.